Skip to content

Commit

Permalink
Added workflow to check wasm32-wasi build
Browse files Browse the repository at this point in the history
Signed-off-by: roee88 <[email protected]>
  • Loading branch information
roee88 committed Aug 10, 2021
1 parent b1ae9af commit 774cc34
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,27 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: test
wasm:
name: Check wasm32-wasi support with ${{ matrix.toolchain }} toolchain
runs-on: ubuntu-latest
strategy:
matrix:
toolchain: [stable, nightly]

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
target: wasm32-wasi
toolchain: ${{ matrix.toolchain }}
override: true

- name: cargo build
uses: actions-rs/cargo@v1
with:
command: build
args: --release --no-default-features --target wasm32-wasi

0 comments on commit 774cc34

Please sign in to comment.