1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 07:28:10 +00:00

ci: run btconly firmware on TT in HW tests

This commit is contained in:
Tomas Susanka 2020-09-03 13:21:19 +02:00 committed by Martin Milata
parent 61531fbd4a
commit 708a85a916
2 changed files with 8 additions and 3 deletions

View File

@ -59,7 +59,12 @@ core fw btconly debug build:
script: script:
- nix-shell --run "poetry run make -C core build_firmware" - nix-shell --run "poetry run make -C core build_firmware"
- cp core/build/firmware/firmware.bin trezor-fw-btconly-debug-$CORE_VERSION-$CI_COMMIT_SHORT_SHA.bin - cp core/build/firmware/firmware.bin trezor-fw-btconly-debug-$CORE_VERSION-$CI_COMMIT_SHORT_SHA.bin
only: # currently used only for deploys only: # currently used only for HW tests and deploys
- schedules # nightly build
- /^legacy\//
- /^release\//
- /^secfix\//
- /^hw\//
- /^core\// - /^core\//
artifacts: artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA" name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA"

View File

@ -306,7 +306,7 @@ storage test:
when: always when: always
# Hardware # Hardware
hardware core regular device test: hardware core btconly device test:
stage: test stage: test
only: only:
- schedules # nightly build - schedules # nightly build
@ -316,7 +316,7 @@ hardware core regular device test:
- /^hw\// - /^hw\//
tags: tags:
- tpmb - tpmb
needs: ["core fw regular debug build"] needs: ["core fw btconly debug build"]
script: script:
- cd ci/hardware_tests - cd ci/hardware_tests
- nix-shell --run "cd ../.. && poetry install" - nix-shell --run "cd ../.. && poetry install"