mirror of
https://github.com/linuxboot/heads.git
synced 2025-04-08 11:54:26 +00:00
safeboot: add to CI builds
This commit is contained in:
parent
4b4983f213
commit
03de89e993
@ -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: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user