Skip to content

Commit 0b23667

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

File tree

1 file changed

+61
-8
lines changed

1 file changed

+61
-8
lines changed

.github/workflows/linux_build.yml

Lines changed: 61 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,77 @@ 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+
fail-fast: false
1262
runs-on: ubuntu-latest
13-
63+
name: Build ${{ matrix.project }}
1464
steps:
1565
- uses: actions/checkout@v3
16-
- uses: syphar/restore-virtualenv@v1
17-
66+
- name: Setup Python
67+
uses: actions/setup-python@v4
68+
with:
69+
python-version: 3.8
70+
cache: pip
1871
- name: install requirements
1972
run: sudo apt-get install -y gcc-arm-none-eabi
20-
73+
2174
- name: install requirements
2275
run: pip install -r requirements.txt
2376

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

0 commit comments

Comments
 (0)