-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add wasm32-unknown-unknown build
- Loading branch information
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,6 +60,13 @@ jobs: | |
target: wasm32-wasi | ||
override: true | ||
|
||
- name: Install Rust wasm32-unknown-unknown | ||
uses: actions-rs/[email protected] | ||
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-unknown --features wasm-bindgen | ||
|
||
check-rustdoc-links: | ||
name: Check rustdoc intra-doc links | ||
runs-on: ubuntu-latest | ||
|