Skip to content

Commit

Permalink
needs some more testing
Browse files Browse the repository at this point in the history
  • Loading branch information
robamu committed Feb 4, 2025
1 parent 6623b58 commit 05ffbb9
Showing 1 changed file with 38 additions and 36 deletions.
74 changes: 38 additions & 36 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 05ffbb9

Please sign in to comment.