mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-29 01:23:57 +01:00
Fix the web backend in code and CI
This commit is contained in:
1 parent
b04cc289e8
commit
c1225c42ac
3 files changed
+112
-42
No files matched your search
@@ -15,8 +15,8 @@ jobs:
|
||||
os: [macos-10.15, ubuntu-18.04, windows-2019]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: cargo check --all-targets --all-features
|
||||
- run: cargo test --all-targets --no-run
|
||||
- run: cargo check --all-features
|
||||
- run: cargo test --no-run
|
||||
|
||||
wasm:
|
||||
runs-on: [ubuntu-18.04]
|
||||
@@ -25,7 +25,10 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: rustup target add wasm32-unknown-unknown
|
||||
- run: cargo check --all-targets --all-features --target=wasm32-unknown-unknown
|
||||
- name: Check WebGPU
|
||||
run: cargo check --all-targets --target=wasm32-unknown-unknown
|
||||
- name: Check WebGL
|
||||
run: cargo check --all-targets --target=wasm32-unknown-unknown --features webgl
|
||||
|
||||
docs:
|
||||
runs-on: [ubuntu-18.04]
|
||||
|
||||
Reference in new issue
Block a user