Optional web-specific deps for wasm32 (#7565)

This commit is contained in:
Raphael Hetzel authored and GitHub committed 2025-05-29 22:26:01 +00:00
1 parent f34dfd90e0
commit 0d569d5550
16 files changed
+93 -27

No files matched your search

+3 -3
View File
@@ -269,8 +269,8 @@ jobs:
cargo clippy --target ${{ matrix.target }} ${{ matrix.extra-flags }} --tests --features glsl,spirv
cargo doc --target ${{ matrix.target }} ${{ matrix.extra-flags }} --no-deps --features glsl,spirv
# check with no features
cargo clippy --target ${{ matrix.target }} ${{ matrix.extra-flags }} --no-default-features
# check with only the web feature
cargo clippy --target ${{ matrix.target }} ${{ matrix.extra-flags }} --no-default-features --features=web
# all features
cargo clippy --target ${{ matrix.target }} ${{ matrix.extra-flags }} --tests --all-features
@@ -480,7 +480,7 @@ jobs:
- name: Execute tests
run: |
cd wgpu
wasm-pack test --headless --chrome --no-default-features --features wgsl,webgl --workspace
wasm-pack test --headless --chrome --no-default-features --features wgsl,webgl,web --workspace
gpu-test:
# runtime is normally 5-15 minutes