Skip to content

Commit 19b4f46

Browse files
committed
wgsl: add wgsl compiletest to ci
1 parent 8c2f8e3 commit 19b4f46

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,16 @@ jobs:
133133
include:
134134
- os: ubuntu-24.04
135135
target: x86_64-unknown-linux-gnu
136+
target_env: vulkan1.1,vulkan1.2,vulkan1.3,vulkan1.4
137+
- os: ubuntu-24.04
138+
target: x86_64-unknown-linux-gnu
139+
target_env: wgsl
136140
- os: windows-2022
137141
target: x86_64-pc-windows-msvc
142+
target_env: vulkan1.1,vulkan1.2,vulkan1.3,vulkan1.4
138143
- os: macOS-latest
139144
target: aarch64-apple-darwin
145+
target_env: vulkan1.1,vulkan1.2,vulkan1.3,vulkan1.4
140146
runs-on: ${{ matrix.os }}
141147
steps:
142148
- uses: actions/checkout@v4
@@ -151,7 +157,7 @@ jobs:
151157
- name: cargo fetch --locked
152158
run: cargo fetch --locked --target ${{ matrix.target }}
153159
- 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
160+
run: cargo run -p compiletests --release --no-default-features --features "use-installed-tools" -- --target-env ${{ matrix.target_env }}
155161

156162
difftest:
157163
name: Difftest

0 commit comments

Comments
 (0)