Skip to content

Commit d6e9d00

Browse files
committed
CI: Update GH Action workflow to build all projects independently.
1 parent 4d55f35 commit d6e9d00

File tree

1 file changed

+63
-8
lines changed

1 file changed

+63
-8
lines changed

.github/workflows/linux_build.yml

Lines changed: 63 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,79 @@ name: linux develop build "GCC with Make"
22

33
on:
44
push:
5-
branches: [ "main" ]
5+
branches: '*'
66
pull_request:
7-
branches: [ "main" ]
7+
branches: '*'
88

99
jobs:
1010
build:
11-
11+
strategy:
12+
matrix:
13+
project:
14+
- cc3220sf
15+
- efm32gg
16+
- lpc1114fn28
17+
- lpc4088
18+
- lpc54018
19+
- lpc54114
20+
- lpc54608
21+
- lpc824
22+
- mk20d5
23+
- mk64f12
24+
- mk65f18
25+
- mk66f18
26+
- mk80f25615
27+
- mke15z7
28+
- mke18f16
29+
- mkl02z4
30+
- mkl05z4
31+
- mkl25z4
32+
- mkl26z4
33+
- mkl27z4
34+
- mkl27z644
35+
- mkl28z7
36+
- mkl43z4
37+
- mkl46z4
38+
- mkv10z7
39+
- mkv11z7
40+
- mkv31f51212
41+
- mkv58f22
42+
- mkw01z4
43+
- mkw30z4
44+
- mkw40z4
45+
- mkw41z4
46+
- musca_a
47+
- musca_b
48+
- musca_b_eflash
49+
- ncs36510
50+
- nrf51xxx
51+
- nrf52833
52+
- stm32f4xx_2048
53+
- stm32l0xx_192
54+
- stm32l151
55+
- stm32l475
56+
- stm32wb55rc
57+
- stm32wb55rg
58+
- template
59+
- tz10xx
60+
- w7500
61+
# An empty string will build all projects, in case this list is outdated
62+
- ""
63+
fail-fast: false
1264
runs-on: ubuntu-latest
13-
65+
name: Build ${{ matrix.project || 'all' }}
1466
steps:
1567
- uses: actions/checkout@v3
16-
- uses: syphar/restore-virtualenv@v1
17-
68+
- name: Setup Python
69+
uses: actions/setup-python@v4
70+
with:
71+
python-version: 3.8
72+
cache: pip
1873
- name: install requirements
1974
run: sudo apt-get install -y gcc-arm-none-eabi
20-
75+
2176
- name: install requirements
2277
run: pip install -r requirements.txt
2378

2479
- name: build
25-
run: progen build -t make_gcc_arm
80+
run: progen build -t make_gcc_arm ${{ matrix.project}}

0 commit comments

Comments
 (0)