Skip to content

Commit ca183f5

Browse files
committed
wgsl: add experimental wgsl compiletest to ci
1 parent 9a2d6ab commit ca183f5

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,15 +129,25 @@ jobs:
129129
compiletest:
130130
name: Compiletest
131131
strategy:
132+
fail-fast: false
132133
matrix:
134+
experimental: [ false ]
133135
include:
134136
- os: ubuntu-24.04
135137
target: x86_64-unknown-linux-gnu
138+
target_env: vulkan1.1,vulkan1.2,vulkan1.3,vulkan1.4
136139
- os: windows-2022
137140
target: x86_64-pc-windows-msvc
141+
target_env: vulkan1.1,vulkan1.2,vulkan1.3,vulkan1.4
138142
- os: macOS-latest
139143
target: aarch64-apple-darwin
144+
target_env: vulkan1.1,vulkan1.2,vulkan1.3,vulkan1.4
145+
- os: ubuntu-24.04
146+
target: x86_64-unknown-linux-gnu
147+
target_env: wgsl
148+
experimental: true
140149
runs-on: ${{ matrix.os }}
150+
continue-on-error: ${{ matrix.experimental }}
141151
steps:
142152
- uses: actions/checkout@v4
143153
- name: Install Vulkan SDK
@@ -151,7 +161,7 @@ jobs:
151161
- name: cargo fetch --locked
152162
run: cargo fetch --locked --target ${{ matrix.target }}
153163
- name: compiletest
154-
run: cargo run -p compiletests --release --no-default-features --features "use-installed-tools" -- --target-env vulkan1.1,vulkan1.2,vulkan1.3,vulkan1.4
164+
run: cargo run -p compiletests --release --no-default-features --features "use-installed-tools" -- --target-env ${{ matrix.target_env }}
155165

156166
difftest:
157167
name: Difftest

0 commit comments

Comments
 (0)