Skip to content

Commit

Permalink
CI: Add more rigorous no_std test
Browse files Browse the repository at this point in the history
  • Loading branch information
vks committed Apr 30, 2021
1 parent 204cf1f commit 8ab334f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,20 @@ jobs:
cargo test --target ${{ matrix.target }} --tests --no-default-features
# all stable features:
cargo test --target ${{ matrix.target }} --features=std,serde1,rayon
test-no-std:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
target: thumbv6m-none-eabi
override: true
- name: Build top-level only
run: |
cargo build --target=thumbv6m-none-eabi
cargo build --target=thumbv6m-none-eabi --no-default-features
cargo build --target=thumbv6m-none-eabi --features serde1
cargo build --target=thumbv6m-none-eabi --no-default-features --features serde1

0 comments on commit 8ab334f

Please sign in to comment.