-
Notifications
You must be signed in to change notification settings - Fork 227
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable the CI feature to check more features in MSRV checks (#1641)
* enable the CI feature to check more features in MSRV checks * Rename eh1 feature in esp-lp-hal
- Loading branch information
Showing
3 changed files
with
9 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -201,16 +201,13 @@ jobs: | |
components: rust-src | ||
- uses: Swatinem/rust-cache@v2 | ||
|
||
# TODO: | ||
# - Enable additional (all?) features for MSRV check | ||
|
||
# Verify the MSRV for all RISC-V chips. | ||
- name: msrv (esp-hal) | ||
run: | | ||
cargo xtask build-package --features=esp32c2 --target=riscv32imc-unknown-none-elf esp-hal | ||
cargo xtask build-package --features=esp32c3 --target=riscv32imc-unknown-none-elf esp-hal | ||
cargo xtask build-package --features=esp32c6 --target=riscv32imac-unknown-none-elf esp-hal | ||
cargo xtask build-package --features=esp32h2 --target=riscv32imac-unknown-none-elf esp-hal | ||
cargo xtask build-package --features=esp32c2,ci --target=riscv32imc-unknown-none-elf esp-hal | ||
cargo xtask build-package --features=esp32c3,ci --target=riscv32imc-unknown-none-elf esp-hal | ||
cargo xtask build-package --features=esp32c6,ci --target=riscv32imac-unknown-none-elf esp-hal | ||
cargo xtask build-package --features=esp32h2,ci --target=riscv32imac-unknown-none-elf esp-hal | ||
- name: msrv (esp-lp-hal) | ||
run: | | ||
cargo xtask build-package --features=esp32c6 --target=riscv32imac-unknown-none-elf esp-lp-hal | ||
|
@@ -222,9 +219,6 @@ jobs: | |
env: | ||
RUSTC_BOOTSTRAP: 1 | ||
|
||
# TODO: | ||
# - Enable additional (all?) features for MSRV check | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: esp-rs/[email protected] | ||
|
@@ -236,9 +230,9 @@ jobs: | |
# Verify the MSRV for all Xtensa chips: | ||
- name: msrv (esp-hal) | ||
run: | | ||
cargo xtask build-package --toolchain=esp --features=esp32 --target=xtensa-esp32-none-elf esp-hal | ||
cargo xtask build-package --toolchain=esp --features=esp32s2 --target=xtensa-esp32s2-none-elf esp-hal | ||
cargo xtask build-package --toolchain=esp --features=esp32s3 --target=xtensa-esp32s3-none-elf esp-hal | ||
cargo xtask build-package --toolchain=esp --features=esp32,ci --target=xtensa-esp32-none-elf esp-hal | ||
cargo xtask build-package --toolchain=esp --features=esp32s2,ci --target=xtensa-esp32s2-none-elf esp-hal | ||
cargo xtask build-package --toolchain=esp --features=esp32s3,ci --target=xtensa-esp32s3-none-elf esp-hal | ||
# -------------------------------------------------------------------------- | ||
# Lint & Format | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -216,6 +216,7 @@ ci = [ | |
"async", | ||
"embassy", | ||
"embassy-time-timg0", | ||
"embedded-io" | ||
] | ||
|
||
[lints.clippy] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters