mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-09-28 04:40:52 +00:00
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
This commit is contained in:
parent
4dbe5d35a6
commit
4d9441ef99
20
.github/workflows/ci.yml
vendored
20
.github/workflows/ci.yml
vendored
@ -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/xtensa-toolchain@v1.5
|
||||
@ -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
|
||||
|
@ -216,6 +216,7 @@ ci = [
|
||||
"async",
|
||||
"embassy",
|
||||
"embassy-time-timg0",
|
||||
"embedded-io"
|
||||
]
|
||||
|
||||
[lints.clippy]
|
||||
|
@ -42,7 +42,7 @@ esp-build = { version = "0.1.0", path = "../esp-build" }
|
||||
default = ["embedded-hal-02"]
|
||||
|
||||
embedded-hal-02 = ["dep:embedded-hal-02"]
|
||||
embedded-hal-1 = ["dep:embedded-hal-1"]
|
||||
embedded-hal = ["dep:embedded-hal-1"]
|
||||
|
||||
esp32c6 = ["dep:esp32c6-lp", "procmacros/is-lp-core", "dep:nb", "dep:paste"]
|
||||
esp32s2 = ["dep:esp32s2-ulp", "procmacros/is-ulp-core"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user