Skip to content

Commit 26644bb

Browse files
committed
ci: add CI builds for snowy, spalding and silk
Signed-off-by: Liam McLoughlin <hexxeh@hexxeh.net>
1 parent 7ed1494 commit 26644bb

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ env:
1212
jobs:
1313
build:
1414
runs-on: ubuntu-24.04
15+
strategy:
16+
matrix:
17+
board: ["snowy_bb2", "spalding_bb2", "silk_bb2", "asterix_vla_dvb1"]
1518
steps:
1619
- name: Checkout
1720
uses: actions/checkout@v4
@@ -21,7 +24,7 @@ jobs:
2124

2225
- uses: actions/setup-python@v5
2326
with:
24-
python-version: '3.13'
27+
python-version: "3.13"
2528

2629
- name: Set up environment
2730
run: |
@@ -37,16 +40,20 @@ jobs:
3740
sudo tar xf arm-gnu-toolchain-${ARM_GNU_TOOLCHAIN_VERSION}-x86_64-arm-none-eabi.tar.xz -C /opt
3841
echo "/opt/arm-gnu-toolchain-${ARM_GNU_TOOLCHAIN_VERSION}-x86_64-arm-none-eabi/bin" >> $GITHUB_PATH
3942
40-
- name: Build firmware
41-
run: |
42-
./waf configure --board asterix_vla_dvb1 --nojs --nohash
43-
./waf build
44-
./waf build_prf
43+
- name: Configure
44+
run: ./waf configure --board ${{ matrix.board }} --nojs
45+
46+
- name: Build FW
47+
run: ./waf build
48+
49+
- name: Build recovery FW
50+
if: ${{ matrix.board == 'asterix_vla_dvb1' }}
51+
run: ./waf build_prf
4552

4653
- name: Store firmware images
4754
uses: actions/upload-artifact@v4
4855
with:
49-
name: firmware
56+
name: firmware-${{ matrix.board }}
5057
path: |
5158
build/**/*.elf
5259
build/**/*.hex

0 commit comments

Comments
 (0)