diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d4148477108..65a78db1990 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,6 +60,13 @@ jobs: target: wasm32-wasi override: true + - name: Install Rust wasm32-unknown-unknown + uses: actions-rs/toolchain@v1.0.7 + with: + toolchain: stable + target: wasm32-unknown-unknown + override: true + - name: Install a recent version of clang run: | apt-get update @@ -80,6 +87,11 @@ jobs: # TODO: ideally we would build `--workspace`, but not all crates compile for WASM run: cargo build --target=wasm32-wasi + - name: Build on wasm32-wasi + # TODO: also run `cargo test` + # TODO: ideally we would build `--workspace`, but not all crates compile for WASM + run: cargo build --target=wasm32-unknown-unkown --features wasm-bindgen + check-rustdoc-links: name: Check rustdoc intra-doc links runs-on: ubuntu-latest