Skip to content

Commit

Permalink
add a wasm compilation CI check
Browse files Browse the repository at this point in the history
  • Loading branch information
mmagician committed Sep 11, 2024
1 parent 705dd7c commit 2e8051d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,18 @@ jobs:
run: cargo fmt --all -- --check
- name: cargo clippy
run: cargo clippy -- -D warnings

wasm32-wasip1-check:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
target: wasm32-wasip1
- name: Check wasm32-wasip compilation
run: cargo check --target wasm32-wasip1 --no-default-features --features="wasm"

0 comments on commit 2e8051d

Please sign in to comment.