Skip to content

Commit 4a3fc8f

Browse files
Fixed github ci test for thumbv6m-none-eabi
1 parent 07d2977 commit 4a3fc8f

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,27 @@ jobs:
4242
components: rustfmt
4343
- run: cargo fmt --all --check
4444

45+
nostd-build:
46+
runs-on: ubuntu-latest
47+
continue-on-error: ${{ matrix.experimental }}
48+
strategy:
49+
matrix:
50+
include:
51+
- rust: stable
52+
experimental: false
53+
target: thumbv6m-none-eabi
54+
55+
name: nostd-build/${{ matrix.target }}/${{ matrix.rust }}
56+
steps:
57+
- uses: actions/checkout@v4
58+
- uses: dtolnay/rust-toolchain@stable
59+
with:
60+
toolchain: ${{ matrix.rust }}
61+
targets: ${{ matrix.target }}
62+
- name: Tests
63+
run: |
64+
cargo rustc "--target=${{ matrix.target }}" --no-default-features --features critical-section
65+
4566
tests:
4667
runs-on: ubuntu-latest
4768
strategy:

0 commit comments

Comments
 (0)