-
Notifications
You must be signed in to change notification settings - Fork 8
60 lines (60 loc) · 1.83 KB
/
build_and_test.yml
File metadata and controls
60 lines (60 loc) · 1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
on: [push, pull_request]
name: Build and Test check
jobs:
check-arm:
name: cargo-check (ARM)
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
target: thumbv8m.main-none-eabihf
- run: cargo build --target=thumbv8m.main-none-eabihf
check-arm-softfloat:
name: cargo-check (ARM softfloat)
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
target: thumbv8m.main-none-eabi
- run: cargo build --target=thumbv8m.main-none-eabi
check-riscv:
name: cargo-check (RISC-V)
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
target: riscv32imac-unknown-none-elf
- run: cargo build --target=riscv32imac-unknown-none-elf
check-arm-softfloat-msrv:
name: cargo-check on MSRV (ARM softfloat)
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
target: thumbv8m.main-none-eabi
toolchain: 1.81.0
- run: cargo build --target=thumbv8m.main-none-eabi
check-arm-msrv:
name: cargo-check on MSRV (ARM)
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
target: thumbv8m.main-none-eabihf
toolchain: 1.81.0
- run: cargo build --target=thumbv8m.main-none-eabihf
check-riscv-msrv:
name: cargo-check on MSRV (RISC-V)
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
target: riscv32imac-unknown-none-elf
toolchain: 1.81.0
- run: cargo build --target=riscv32imac-unknown-none-elf