-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
38 additions
and
36 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 |
---|---|---|
|
@@ -57,46 +57,44 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
include: | ||
- { rust: stable, vendor: Atmel } | ||
- { rust: stable, vendor: Atmel, options: "-- --strict --atomics" } | ||
- { rust: stable, vendor: Freescale } | ||
- { rust: stable, vendor: Freescale, options: "-- --strict --atomics" } | ||
- { rust: stable, vendor: Fujitsu } | ||
- { rust: stable, vendor: Fujitsu, options: "-- --atomics" } | ||
- { rust: stable, vendor: Holtek } | ||
- { rust: stable, vendor: Holtek, options: "-- --strict --atomics" } | ||
- { rust: stable, vendor: Atmel } | ||
- { rust: stable, vendor: Atmel, options: "-- --strict --atomics" } | ||
- { rust: stable, vendor: Microchip } | ||
- { rust: stable, vendor: Microchip, options: "-- --atomics" } | ||
- { rust: stable, vendor: Nordic } | ||
- { rust: stable, vendor: Nordic, options: "-- --strict --atomics" } | ||
- { rust: 1.76.0, vendor: Nordic, options: "-- --strict --atomics" } | ||
- { rust: stable, vendor: Nuvoton } | ||
- { rust: stable, vendor: Nuvoton, options: "-- --atomics" } | ||
- { rust: stable, vendor: NXP } | ||
- { rust: stable, vendor: NXP, options: "-- --strict --atomics" } | ||
- { rust: stable, vendor: SiFive } | ||
- { rust: stable, vendor: SiFive, options: "-- --atomics" } | ||
- { rust: stable, vendor: SiliconLabs, options: "" } | ||
- { rust: stable, vendor: SiliconLabs, options: "-- --strict --atomics" } | ||
- { rust: stable, vendor: Spansion } | ||
- { rust: stable, vendor: Spansion, options: "-- --atomics" } | ||
- { rust: stable, vendor: STMicro } | ||
- { rust: stable, vendor: STMicro, options: "-- --atomics" } | ||
- { rust: stable, vendor: STMicro, options: "-- --strict -f enum_value::p: --max-cluster-size --atomics --atomics-feature atomics --impl-debug --impl-defmt defmt" } | ||
- { rust: stable, vendor: Toshiba } | ||
- { rust: stable, vendor: Toshiba, options: "-- --strict --atomics" } | ||
- { rust: stable, vendor: TexasInstruments } | ||
- { rust: stable, vendor: TexasInstruments, options: "-- --atomics" } | ||
- { rust: stable, vendor: Espressif } | ||
- { rust: stable, vendor: Espressif, options: "-- --atomics" } | ||
- { vendor: Atmel } | ||
- { vendor: Atmel, options: "-- --strict --atomics" } | ||
- { vendor: Freescale } | ||
- { vendor: Freescale, options: "-- --strict --atomics" } | ||
- { vendor: Fujitsu } | ||
- { vendor: Fujitsu, options: "-- --atomics" } | ||
- { vendor: Holtek } | ||
- { vendor: Holtek, options: "-- --strict --atomics" } | ||
- { vendor: Atmel } | ||
- { vendor: Atmel, options: "-- --strict --atomics" } | ||
- { vendor: Microchip } | ||
- { vendor: Microchip, options: "-- --atomics" } | ||
- { vendor: Nordic } | ||
- { vendor: Nordic, options: "-- --strict --atomics" } | ||
- { vendor: Nuvoton } | ||
- { vendor: Nuvoton, options: "-- --atomics" } | ||
- { vendor: NXP } | ||
- { vendor: NXP, options: "-- --strict --atomics" } | ||
- { vendor: SiFive } | ||
- { vendor: SiFive, options: "-- --atomics" } | ||
- { vendor: SiliconLabs, options: "" } | ||
- { vendor: SiliconLabs, options: "-- --strict --atomics" } | ||
- { vendor: Spansion } | ||
- { vendor: Spansion, options: "-- --atomics" } | ||
- { vendor: STMicro } | ||
- { vendor: STMicro, options: "-- --atomics" } | ||
- { vendor: STMicro, options: "-- --strict -f enum_value::p: --max-cluster-size --atomics --atomics-feature atomics --impl-debug --impl-defmt defmt" } | ||
- { vendor: Toshiba } | ||
- { vendor: Toshiba, options: "-- --strict --atomics" } | ||
- { vendor: TexasInstruments } | ||
- { vendor: TexasInstruments, options: "-- --atomics" } | ||
- { vendor: Espressif } | ||
- { vendor: Espressif, options: "-- --atomics" } | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: dtolnay/rust-toolchain@stable | ||
- uses: dtolnay/[email protected] | ||
|
||
- name: Cache | ||
uses: Swatinem/rust-cache@v2 | ||
|
@@ -108,8 +106,12 @@ jobs: | |
- name: Run regression tool | ||
run: cargo regress tests -m ${{ matrix.vendor }} ${{ matrix.options }} | ||
|
||
# Install the MSRV toolchain | ||
- uses: dtolnay/[email protected] | ||
- name: Run reression tool with MSRV | ||
run: cargo regress tests --toolchain 1.76.0 -m Nordic -- --strict --atomics | ||
# The MSRV only applies to the generated crate. The regress tool should still be run with | ||
# stable. | ||
run: cargo +stable regress tests --toolchain 1.76.0 -m Nordic -- --strict --atomics | ||
|
||
ci-clippy: | ||
runs-on: ubuntu-latest | ||
|