Skip to content

Commit

Permalink
ci: add wasm32-unknown-unknown build
Browse files Browse the repository at this point in the history
  • Loading branch information
wngr committed Sep 27, 2021
1 parent c8e2b0e commit c82735f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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-unknown --features wasm-bindgen

check-rustdoc-links:
name: Check rustdoc intra-doc links
runs-on: ubuntu-latest
Expand Down

0 comments on commit c82735f

Please sign in to comment.