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 fb1116a
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,27 @@ jobs:
run: |
cargo +nightly miri test --no-default-features -p all-is-cubes universe::
no_std:
runs-on: ubuntu-latest

steps:
- uses: actions/[email protected]

- 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 fb1116a

Please sign in to comment.