Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,21 @@ jobs:
files: lcov.info
fail_ci_if_error: true

no_std:
name: Build no_std (bare-metal)
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v5
- uses: dtolnay/rust-toolchain@stable
with:
targets: thumbv6m-none-eabi
- uses: Swatinem/rust-cache@v2
- name: Build no_std + no_alloc
run: cargo build --no-default-features --target thumbv6m-none-eabi
- name: Build no_std + alloc
run: cargo build --no-default-features --features alloc --target thumbv6m-none-eabi

lint:
name: Run Clippy
runs-on: ubuntu-latest
Expand All @@ -59,6 +74,8 @@ jobs:
- uses: Swatinem/rust-cache@v2
- run: rustup component add clippy
- run: cargo clippy --all-features
- run: cargo clippy --no-default-features
- run: cargo clippy --no-default-features --features alloc

format:
name: Run Cargo Format
Expand Down
Loading
Loading