Skip to content

Commit afc60c1

Browse files
authored
Merge pull request #147 from stm32-rs/parallel-ci
Use build matrix instead of serialising builds
2 parents 0efb2b6 + 9f3517b commit afc60c1

File tree

1 file changed

+20
-5
lines changed

1 file changed

+20
-5
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,29 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10+
mcu:
11+
- stm32f401
12+
- stm32f405
13+
- stm32f407
14+
- stm32f410
15+
- stm32f411
16+
- stm32f412
17+
- stm32f413
18+
- stm32f415
19+
- stm32f417
20+
- stm32f423
21+
- stm32f427
22+
- stm32f429
23+
- stm32f437
24+
- stm32f439
25+
- stm32f446
26+
- stm32f469
27+
- stm32f479
1028
rust:
1129
- stable
1230
include:
1331
- rust: nightly
32+
mcu: stm32f479
1433
experimental: true
1534

1635
steps:
@@ -21,11 +40,7 @@ jobs:
2140
toolchain: ${{ matrix.rust }}
2241
target: thumbv7em-none-eabihf
2342
override: true
24-
25-
- name: Regular build for all supported MCU models
26-
run: python tools/check.py
27-
2843
- uses: actions-rs/cargo@v1
2944
with:
3045
command: build
31-
args: --examples --features=stm32f401,rt,usb_fs --release
46+
args: --features=${{ matrix.mcu }},rt,usb_fs

0 commit comments

Comments
 (0)