Skip to content

Commit

Permalink
Add CI to try building under no_std targets.
Browse files Browse the repository at this point in the history
  • Loading branch information
kpreid committed Jun 18, 2022
1 parent f245324 commit 92c7270
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ jobs:
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Check under no_std
run: |
# thumbv6m-none-eabi is a Tier 2 target which has no `std` and no atomic pointers.
rustup target add thumbv6m-none-eabi
cargo check --verbose --target thumbv6m-none-eabi
# aarch64-unknown-none is Tier 2, has no `std`, but does have atomic pointers.
rustup target add aarch64-unknown-none
cargo check --verbose --target aarch64-unknown-none
miri-test:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 92c7270

Please sign in to comment.