Skip to content

Commit e59309d

Browse files
committed
ci: add thumbv6m-none-eabi target to ensure_no_std step
add a target without atomics
1 parent afe9e40 commit e59309d

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,17 @@ jobs:
6161
ensure_no_std:
6262
name: Ensure no_std
6363
runs-on: ubuntu-latest
64+
strategy:
65+
matrix:
66+
target: [thumbv7em-none-eabihf, thumbv6m-none-eabi]
6467
steps:
6568
- uses: actions/checkout@v4
6669
- uses: dtolnay/rust-toolchain@master
6770
with:
6871
toolchain: nightly
69-
targets: thumbv7em-none-eabihf
70-
- run: cd ensure_no_std && cargo build --release --target thumbv7em-none-eabihf
71-
- run: cd ensure_no_std && cargo build --release --target thumbv7em-none-eabihf --no-default-features
72+
targets: ${{ matrix.target }}
73+
- run: cd ensure_no_std && cargo build --release --target ${{ matrix.target }}
74+
- run: cd ensure_no_std && cargo build --release --target ${{ matrix.target }} --no-default-features
7275

7376
ensure_wasm:
7477
name: Ensure wasm

0 commit comments

Comments
 (0)