Skip to content

Commit 04f7a4e

Browse files
committed
ci: Add job to check rp-pico example
This ensures we at least build profirust once in a `no_std` build in the CI. Hopefully, this will catch future `no_std` regressions early.
1 parent 9eb3622 commit 04f7a4e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ jobs:
2525
- run: sudo apt-get install -y libudev-dev
2626
- run: RUSTFLAGS=-Dwarnings cargo check -p profirust --all-features --examples
2727

28+
check-rp-example:
29+
name: Check rp-pico example
30+
runs-on: ubuntu-latest
31+
steps:
32+
- uses: actions/checkout@v4
33+
- uses: actions-rust-lang/setup-rust-toolchain@v1
34+
- run: cd examples/rp-pico; RUSTFLAGS=-Dwarnings cargo check
35+
2836
test-profirust:
2937
name: Run profirust testsuite
3038
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)