Skip to content

Commit 7872924

Browse files
committed
Run CI job to ensure no-std compatibility
1 parent 907916f commit 7872924

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/build-ci.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,13 @@ jobs:
2525
with:
2626
toolchain: stable
2727
components: rustfmt, clippy
28-
- run: cargo check
28+
target: thumbv6m-none-eabi
29+
- name: Cargo check
30+
run: cargo check
31+
- name: Install gcc-arm-none-eabi
32+
run: sudo apt-get update && sudo apt-get install -y gcc-arm-none-eabi
33+
- name: Cargo check no-std
34+
run: cargo check --package libosdp --target thumbv6m-none-eabi --no-default-features
2935
test:
3036
runs-on: ubuntu-latest
3137
steps:

0 commit comments

Comments
 (0)