safeboot: add to CI builds

This commit is contained in:
Trammell Hudson 2020-11-06 13:50:38 -05:00
parent 4b4983f213
commit 03de89e993

View File

@ -240,6 +240,26 @@ jobs:
- store-artifacts:
path: build/qemu-coreboot
- run:
name: safeboot
command: |
rm -rf build/safeboot/* build/log/* && make CPUS=4 V=1 BOARD=safeboot || touch /tmp/failed_build
no_output_timeout: 3h
- run:
name: Output build failing logs
command: |
if [[ -f /tmp/failed_build ]]; then find ./build/ -name "*.log" -type f -mmin -1|while read log; do echo ""; echo '==>' "$log" '<=='; echo ""; cat $log;done; exit 1;else echo "Not failing. Continuing..."; fi
- run:
name: Output safeboot hashes
command: |
cat build/safeboot/hashes.txt \
- run:
name: Archiving build logs for safeboot
command: |
tar zcvf build/safeboot/logs.tar.gz build/log/*
- store-artifacts:
path: build/safeboot
- run:
name: qemu-coreboot-fbwhiptail
command: |