Skip to content

Commit 390d32e

Browse files
committed
ci: always dump ATF failure details
1 parent 455878e commit 390d32e

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

.github/workflows/BPI-R4-Minimal-MTK-Bootloader-Test.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
4444
- name: Build with Podman
4545
id: compileopenwrt
46+
continue-on-error: true
4647
env:
4748
INPUT_MEDIA: ${{ inputs.media || 'sd' }}
4849
run: |
@@ -126,7 +127,7 @@ jobs:
126127
bash build_script.sh
127128
128129
- name: If Error
129-
if: steps.compileopenwrt.outcome == 'failure'
130+
if: ${{ always() && steps.compileopenwrt.outcome == 'failure' }}
130131
run: |
131132
podman run --rm \
132133
-v ${{ github.workspace }}:/build \
@@ -135,5 +136,14 @@ jobs:
135136
bash -lc '
136137
cat ./.config
137138
echo "================================================================"
138-
make -j1 V=s
139+
echo "=== Verbose ATF rebuild ==="
140+
make package/boot/arm-trusted-firmware-mediatek/clean
141+
make package/boot/arm-trusted-firmware-mediatek/compile -j1 V=s || true
142+
echo "================================================================"
143+
echo "=== Verbose world rebuild ==="
144+
make -j1 V=s || true
139145
'
146+
147+
- name: Fail job if build failed
148+
if: ${{ always() && steps.compileopenwrt.outcome == 'failure' }}
149+
run: exit 1

0 commit comments

Comments
 (0)