Fix build for wasm32 target

This commit is contained in:
Vincent Jousse committed 2020-12-18 22:09:20 +01:00
1 parent 89e585af61
commit 0899bb7207
4 files changed
+26 -13

No files matched your search

+8
View File
@@ -33,6 +33,14 @@ jobs:
- name: Additional core features
run: cargo check --manifest-path wgpu-core/Cargo.toml --features trace --target ${{ env.TARGET }}
webgl_build:
name: Web Assembly
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- run: rustup target add wasm32-unknown-unknown
- run: cargo build --manifest-path wgpu-core/Cargo.toml --target wasm32-unknown-unknown
build:
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}