Skip to content

Commit

Permalink
CI: Expand no_std build.
Browse files Browse the repository at this point in the history
  • Loading branch information
kpreid committed Jul 25, 2024
1 parent 1ac945d commit afa39ab
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -458,13 +458,15 @@ jobs:
rustup toolchain install stable --profile minimal
rustup target add thumbv7em-none-eabihf
- name: no_std build
- name: no_std lint
run: |
cargo check --no-default-features -p all-is-cubes --target thumbv7em-none-eabihf
cargo clippy --no-default-features -p all-is-cubes -p all-is-cubes-render -p all-is-cubes-content --target thumbv7em-none-eabihf
- name: no_std lint
- name: no_std build
# This is `cargo build`, not `cargo check`, because `cargo check` won't detect problems like
# use of undefined linker symbols. Not sure if that matters.
run: |
cargo clippy --no-default-features -p all-is-cubes --target thumbv7em-none-eabihf
cargo build --no-default-features -p all-is-cubes -p all-is-cubes-render -p all-is-cubes-content --target thumbv7em-none-eabihf
fuzz:
# Don't spend time on fuzzing if the build failed indicating the code is bad other ways
Expand Down

0 comments on commit afa39ab

Please sign in to comment.