Skip to content

Commit

Permalink
no_std CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
kpreid committed Oct 5, 2023
1 parent 8c8ab78 commit 25c0c78
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,29 @@ jobs:
- name: Run Miri tests, no_std
run: |
cargo +nightly miri test --no-default-features -p all-is-cubes universe::
no_std:
runs-on: ubuntu-latest

steps:
- uses: actions/[email protected]

# The build is faster *without* this cache.
# - uses: Swatinem/[email protected]

- name: Install Rust toolchain
run: |
rustup toolchain install stable --profile minimal
rustup target add thumbv7em-none-eabihf
- name: no_std build
run: |
cargo check --no-default-features -p all-is-cubes --target thumbv7em-none-eabihf
- name: no_std lint
run: |
cargo clippy --no-default-features -p all-is-cubes --target thumbv7em-none-eabihf
fuzz:
# Don't spend time on fuzzing if the build failed indicating the code is bad other ways
needs: build
Expand Down

0 comments on commit 25c0c78

Please sign in to comment.