Skip to content

Commit 1e81bd3

Browse files
committed
wgsl ci: add experimental wgsl compiletest to ci
1 parent 566bee0 commit 1e81bd3

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,17 @@ jobs:
119119
compiletest:
120120
name: Compiletest
121121
strategy:
122+
fail-fast: false
122123
matrix:
123124
os: [ ubuntu-24.04, windows-2022, macOS-latest ]
125+
target_env: [ vulkan1.1,vulkan1.2,vulkan1.3,vulkan1.4 ]
126+
experimental: [ false ]
127+
include:
128+
- os: ubuntu-24.04
129+
target_env: wgsl
130+
experimental: true
124131
runs-on: ${{ matrix.os }}
132+
continue-on-error: ${{ matrix.experimental }}
125133
steps:
126134
- uses: actions/checkout@v4
127135
- name: Install Vulkan SDK
@@ -134,7 +142,7 @@ jobs:
134142
- name: cargo fetch --locked
135143
run: cargo fetch --locked --target $TARGET
136144
- name: compiletest
137-
run: cargo run -p compiletests --release --no-default-features --features "use-installed-tools" -- --target-env vulkan1.1,vulkan1.2,vulkan1.3,vulkan1.4,spv1.3
145+
run: cargo run -p compiletests --release --no-default-features --features "use-installed-tools" -- --target-env ${{ matrix.target_env }}
138146

139147
difftest:
140148
name: Difftest

0 commit comments

Comments
 (0)