Skip to content

Commit

Permalink
workflows: add wasm job
Browse files Browse the repository at this point in the history
  • Loading branch information
kivikakk committed Jun 11, 2022
1 parent 049a030 commit f06c360
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,20 @@ jobs:
run: env SPEC=false script/cibuild
- name: Run spec tests
run: env SPEC=true script/cibuild
build_wasm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
submodules: true
- name: Obtain Rust
run: rustup override set stable
- name: Setup for wasm
run: rustup target add wasm32-unknown-unknown
- name: Build
run: cargo build --verbose --target wasm32-unknown-unknown
- name: Build examples
run: cargo build --verbose --target wasm32-unknown-unknown --examples
no_features_build_test:
runs-on: ubuntu-latest
strategy:
Expand Down

0 comments on commit f06c360

Please sign in to comment.