Skip to content

Commit 2161d7d

Browse files
committed
ci/build-prf: build normal and MFG PRF variant
Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent efcdb10 commit 2161d7d

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/build-prf.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
strategy:
2626
matrix:
2727
board: ["asterix"]
28+
mode: ["normal", "mfg"]
2829

2930
steps:
3031
- name: Mark Github workspace as safe
@@ -42,7 +43,12 @@ jobs:
4243
pip install -r requirements.txt
4344
4445
- name: Configure
45-
run: ./waf configure --board ${{ matrix.board }}
46+
run: |
47+
if [ "${{ matrix.mode }}" == "mfg" ]; then
48+
OPTS="--mfg --nohash"
49+
fi
50+
51+
./waf configure --board ${{ matrix.board }} $OPTS
4652
4753
- name: Build
4854
run: ./waf build_prf
@@ -53,7 +59,7 @@ jobs:
5359
- name: Store
5460
uses: actions/upload-artifact@v4
5561
with:
56-
name: prf-${{ matrix.board }}
62+
name: prf-${{ matrix.board }}-${{ matrix.mode }}
5763
path: |
5864
build/**/*.elf
5965
build/**/*.pbz

0 commit comments

Comments
 (0)