Skip to content

Commit

Permalink
safeboot: add to CI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
osresearch committed Nov 6, 2020
1 parent 4b4983f commit 03de89e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 03de89e

Please sign in to comment.