mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-16 19:38:09 +00:00
22 lines
490 B
Bash
Executable File
22 lines
490 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
function finish {
|
|
./record_video.sh ${T1_CAMERA} ${CI_COMMIT_SHORT_SHA} stop
|
|
ls -l *.mp4
|
|
}
|
|
trap finish EXIT
|
|
|
|
set -e # exit on nonzero exitcode
|
|
set -x # trace commands
|
|
|
|
# export variables defined in the file
|
|
set -a
|
|
source hardware.cfg
|
|
set +a
|
|
|
|
./record_video.sh ${T1_CAMERA} ${CI_COMMIT_SHORT_SHA} start
|
|
(cd ../.. && poetry install)
|
|
poetry run python bootstrap.py t1
|
|
poetry run python bootstrap.py t1 ../../firmware-T1*.bin
|
|
poetry run pytest ../../tests/device_tests
|