Skip to content

Commit f42d1ab

Browse files
authored
Merge pull request #23 from 9names/add_thumbv8m.main-none-eabi_ci
Add build test for arm soft-float (thumbv8m.main-none-eabi)
2 parents 57c823a + 43d7a9d commit f42d1ab

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/build_and_test.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@ jobs:
1010
with:
1111
target: thumbv8m.main-none-eabihf
1212
- run: cargo build --target=thumbv8m.main-none-eabihf
13+
check-arm-softfloat:
14+
name: cargo-check (ARM softfloat)
15+
runs-on: ubuntu-24.04
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: dtolnay/rust-toolchain@stable
19+
with:
20+
target: thumbv8m.main-none-eabi
21+
- run: cargo build --target=thumbv8m.main-none-eabi
1322
check-riscv:
1423
name: cargo-check (RISC-V)
1524
runs-on: ubuntu-24.04
@@ -19,6 +28,16 @@ jobs:
1928
with:
2029
target: riscv32imac-unknown-none-elf
2130
- run: cargo build --target=riscv32imac-unknown-none-elf
31+
check-arm-softfloat-msrv:
32+
name: cargo-check on MSRV (ARM softfloat)
33+
runs-on: ubuntu-24.04
34+
steps:
35+
- uses: actions/checkout@v4
36+
- uses: dtolnay/rust-toolchain@master
37+
with:
38+
target: thumbv8m.main-none-eabi
39+
toolchain: 1.81.0
40+
- run: cargo build --target=thumbv8m.main-none-eabi
2241
check-arm-msrv:
2342
name: cargo-check on MSRV (ARM)
2443
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)