File tree Expand file tree Collapse file tree 3 files changed +27
-4
lines changed Expand file tree Collapse file tree 3 files changed +27
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ on: [push, pull_request]
22name : Build and Test check
33jobs :
44 check-arm :
5- name : cargo-check
5+ name : cargo-check (ARM)
66 runs-on : ubuntu-24.04
77 steps :
88 - uses : actions/checkout@v4
@@ -11,11 +11,31 @@ jobs:
1111 target : thumbv8m.main-none-eabihf
1212 - run : cargo build --target=thumbv8m.main-none-eabihf
1313 check-riscv :
14- name : cargo-check
14+ name : cargo-check (RISC-V)
1515 runs-on : ubuntu-24.04
1616 steps :
1717 - uses : actions/checkout@v4
1818 - uses : dtolnay/rust-toolchain@stable
1919 with :
2020 target : riscv32imac-unknown-none-elf
2121 - run : cargo build --target=riscv32imac-unknown-none-elf
22+ check-arm-msrv :
23+ name : cargo-check on MSRV (ARM)
24+ runs-on : ubuntu-24.04
25+ steps :
26+ - uses : actions/checkout@v4
27+ - uses : dtolnay/rust-toolchain@master
28+ with :
29+ target : thumbv8m.main-none-eabihf
30+ toolchain : 1.81.0
31+ - run : cargo build --target=thumbv8m.main-none-eabihf
32+ check-riscv-msrv :
33+ name : cargo-check on MSRV (RISC-V)
34+ runs-on : ubuntu-24.04
35+ steps :
36+ - uses : actions/checkout@v4
37+ - uses : dtolnay/rust-toolchain@master
38+ with :
39+ target : riscv32imac-unknown-none-elf
40+ toolchain : 1.81.0
41+ - run : cargo build --target=riscv32imac-unknown-none-elf
Original file line number Diff line number Diff line change 77 RUSTFLAGS : " -D warnings -Aclippy::needless_lifetimes"
88 steps :
99 - uses : actions/checkout@v4
10- - uses : dtolnay/rust-toolchain@stable
10+ - uses : dtolnay/rust-toolchain@master
1111 with :
1212 target : thumbv8m.main-none-eabihf
13+ toolchain : 1.81.0
1314 components : clippy
1415 - run : cargo clippy --target=thumbv8m.main-none-eabihf
1516 clippy-check-riscv :
1819 RUSTFLAGS : " -D warnings -Aclippy::needless_lifetimes"
1920 steps :
2021 - uses : actions/checkout@v4
21- - uses : dtolnay/rust-toolchain@stable
22+ - uses : dtolnay/rust-toolchain@master
2223 with :
2324 target : riscv32imac-unknown-none-elf
25+ toolchain : 1.81.0
2426 components : clippy
2527 - run : cargo clippy --target=riscv32imac-unknown-none-elf
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ license = "BSD-3-Clause"
77name = " rp235x-pac"
88repository = " https://github.com/rp-rs/rp235x-pac"
99version = " 0.1.0"
10+ rust-version = " 1.81.0"
1011
1112[package .metadata .docs .rs ]
1213features = [" rt" ]
You can’t perform that action at this time.
0 commit comments