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 2f18247
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
override: true
default: true
components: rustfmt, clippy
targets: |
wasm32-unknown-unknown
target: |
- wasm32-unknown-unknown
- name: Install nightly toolchain
uses: actions-rs/toolchain@v1
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 2f18247

Please sign in to comment.