Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
alxiong committed May 11, 2023
1 parent 6492ee6 commit 89bd293
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
override: true
default: true
components: rustfmt, clippy
targets: |
target: |
wasm32-unknown-unknown
- name: Install nightly toolchain
Expand Down Expand Up @@ -66,8 +66,10 @@ jobs:
- name: Check all tests and binaries compilation
run: cargo check --workspace --tests --lib --bins

- name: Check no_std compilation
run: bash ./scripts/build_wasm.sh
- name: Check no_std support and WASM compilation
env:
RUSTFLAGS: -C target-cpu=generic
run: cargo build --target wasm32-unknown-unknown --no-default-features

- name: Test
run: bash ./scripts/run_tests.sh
Expand Down

0 comments on commit 89bd293

Please sign in to comment.