Set of fixes
Some checks are pending
Rust/va108xx-rs/pipeline/head Build queued...

This commit is contained in:
2024-06-16 16:32:52 +02:00
committed by Robin Mueller
parent 42c7f0d3a2
commit 40ac37c239
12 changed files with 53 additions and 26 deletions

View File

@ -10,8 +10,8 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
targets: "thumbv6m-none-eabi"
- run: cargo check --release
- run: cargo check --examples --release
- run: cargo check --target thumbv6m-none-eabi --release
- run: cargo check --target thumbv6m-none-eabi --examples --release
test:
name: Run Tests
@ -21,8 +21,9 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
- name: Install nextest
uses: taiki-e/install-action@nextest
- run: cargo nextest run --all-features
- run: cargo test --doc
- run: cargo nextest run --all-features -p va108xx-hal
# I think we can skip those on an embedded crate..
# - run: cargo test --doc -p va108xx-hal
fmt:
name: Check formatting
@ -46,4 +47,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo clippy -- -D warnings
with:
targets: "thumbv6m-none-eabi"
- run: cargo clippy --target thumbv6m-none-eabi -- -D warnings