Skip to content

Commit 5fcf85a

Browse files
committed
wgsl ci: add experimental wgsl compiletest to ci
1 parent cf6b6ce commit 5fcf85a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,14 @@ jobs:
135135
fail-fast: false
136136
matrix:
137137
os: [ ubuntu-24.04, windows-2022, macOS-latest ]
138+
target_env: [ "vulkan1.1,vulkan1.2,vulkan1.3,vulkan1.4,spv1.3,spv1.4" ]
139+
experimental: [ false ]
140+
include:
141+
- os: ubuntu-24.04
142+
target_env: naga-wgsl
143+
experimental: true
138144
runs-on: ${{ matrix.os }}
145+
continue-on-error: ${{ matrix.experimental }}
139146
steps:
140147
- uses: actions/checkout@v4
141148
- name: Install Vulkan SDK
@@ -154,7 +161,7 @@ jobs:
154161
- name: cargo fetch --locked
155162
run: cargo fetch --locked --target $TARGET
156163
- name: compiletest
157-
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,spv1.4
164+
run: cargo run -p compiletests --release --no-default-features --features "use-installed-tools" -- --target-env ${{ matrix.target_env }}
158165

159166
difftest:
160167
name: Difftest

0 commit comments

Comments
 (0)