@@ -54,46 +54,44 @@ jobs:
54
54
runs-on : ubuntu-latest
55
55
needs : [check]
56
56
strategy :
57
+ fail-fast : false
57
58
matrix :
58
- # Options are all, none, strict and const
59
59
include :
60
- - { rust: stable, vendor: Atmel, options: all }
61
- - { rust: stable, vendor: Atmel, options: "" }
62
- - { rust: stable, vendor: Freescale, options: all }
63
- - { rust: stable, vendor: Freescale, options: "" }
64
- - { rust: stable, vendor: Fujitsu, options: "" }
65
- - { rust: stable, vendor: Fujitsu, options: "--atomics" }
66
- - { rust: stable, vendor: GD32, options: all }
67
- - { rust: stable, vendor: GD32, options: "" }
68
- - { rust: stable, vendor: Holtek, options: all }
69
- - { rust: stable, vendor: Holtek, options: "" }
70
- - { rust: stable, vendor: Microchip, options: "" }
71
- - { rust: stable, vendor: Microchip, options: "--atomics" }
72
- - { rust: stable, vendor: Nordic, options: all }
73
- - { rust: stable, vendor: Nordic, options: "" }
74
- - { rust: stable, vendor: Nuvoton, options: "" }
75
- - { rust: stable, vendor: Nuvoton, options: "--atomics" }
76
- - { rust: stable, vendor: NXP, options: all }
77
- - { rust: stable, vendor: NXP, options: "" }
78
- - { rust: stable, vendor: RISC-V, options: "" }
79
- - { rust: stable, vendor: RISC-V, options: "--atomics" }
80
- - { rust: stable, vendor: SiliconLabs, options: all }
60
+ # TODO: There are currently no working Atmel tests...
61
+ # - { rust: stable, vendor: Atmel }
62
+ # - { rust: stable, vendor: Atmel, options: "-- --strict --atomics" }
63
+ - { rust: stable, vendor: Freescale }
64
+ - { rust: stable, vendor: Freescale, options: "-- --strict --atomics" }
65
+ - { rust: stable, vendor: Fujitsu }
66
+ - { rust: stable, vendor: Fujitsu, options: "-- --atomics" }
67
+ - { rust: stable, vendor: Holtek }
68
+ - { rust: stable, vendor: Holtek, options: "-- --strict --atomics" }
69
+ - { rust: stable, vendor: Atmel }
70
+ - { rust: stable, vendor: Atmel, options: "-- --strict --atomics" }
71
+ - { rust: stable, vendor: Microchip }
72
+ - { rust: stable, vendor: Microchip, options: "-- --atomics" }
73
+ - { rust: stable, vendor: Nordic }
74
+ - { rust: stable, vendor: Nordic, options: "-- --strict --atomics" }
75
+ - { rust: 1.76.0, vendor: Nordic, options: "-- --strict --atomics" }
76
+ - { rust: stable, vendor: Nuvoton }
77
+ - { rust: stable, vendor: Nuvoton, options: "-- --atomics" }
78
+ - { rust: stable, vendor: NXP }
79
+ - { rust: stable, vendor: NXP, options: "-- --strict --atomics" }
80
+ - { rust: stable, vendor: SiFive }
81
+ - { rust: stable, vendor: SiFive, options: "-- --atomics" }
81
82
- { rust: stable, vendor: SiliconLabs, options: "" }
82
- - { rust: stable, vendor: Spansion, options: "" }
83
- - { rust: stable, vendor: Spansion, options: "--atomics" }
84
- - { rust: stable, vendor: STMicro, options: "" }
85
- - { rust: stable, vendor: STMicro, options: "--atomics" }
86
- - { rust: stable, vendor: STM32-patched, options: "--strict -f enum_value::p: --max-cluster-size --atomics --atomics-feature atomics --impl-debug --impl-defmt defmt" }
87
- - { rust: stable, vendor: Toshiba, options: all }
88
- - { rust: stable, vendor: Toshiba, options: "" }
89
- # Test MSRV
90
- - { rust: 1.76.0, vendor: Nordic, options: "" }
91
- # Use nightly for architectures which don't support stable
92
- - { rust: nightly, vendor: MSP430, options: "--atomics" }
93
- - { rust: nightly, vendor: MSP430, options: "" }
94
- # Workaround for _1token0
95
- - { rust: nightly-2024-09-25, vendor: Espressif, options: "--atomics --ident-formats-theme legacy" }
96
- - { rust: nightly-2024-09-25, vendor: Espressif, options: "--ident-format register:::Reg" }
83
+ - { rust: stable, vendor: SiliconLabs, options: "-- --strict --atomics" }
84
+ - { rust: stable, vendor: Spansion }
85
+ - { rust: stable, vendor: Spansion, options: "-- --atomics" }
86
+ - { rust: stable, vendor: STMicro }
87
+ - { rust: stable, vendor: STMicro, options: "-- --atomics" }
88
+ - { rust: stable, vendor: STMicro, options: "-- --strict -f enum_value::p: --max-cluster-size --atomics --atomics-feature atomics --impl-debug --impl-defmt defmt" }
89
+ - { rust: stable, vendor: Toshiba }
90
+ - { rust: stable, vendor: Toshiba, options: "-- --strict --atomics" }
91
+ - { rust: stable, vendor: TexasInstruments }
92
+ - { rust: stable, vendor: TexasInstruments, options: "-- --atomics" }
93
+ - { rust: stable, vendor: Espressif }
94
+ - { rust: stable, vendor: Espressif, options: "-- --atomics" }
97
95
98
96
steps :
99
97
- uses : actions/checkout@v4
@@ -109,13 +107,8 @@ jobs:
109
107
run : |
110
108
cargo install svd2rust --path .
111
109
112
- - name : Run CI script for `${{ matrix.vendor }}` under rust `${{ matrix.rust }}` with options=`${{ matrix.options }}`
113
- env :
114
- VENDOR : ${{ matrix.vendor }}
115
- OPTIONS : ${{ matrix.options }}
116
- COMMAND : check
117
- RUST_TOOLCHAIN : ${{ matrix.rust }}
118
- run : bash ci/script.sh
110
+ - name : Run regression tool
111
+ run : cargo regress tests -m ${{ matrix.vendor }} ${{ matrix.options }}
119
112
120
113
ci-clippy :
121
114
runs-on : ubuntu-latest
0 commit comments