1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-23 13:02:03 +00:00

ci: use frozen debug builds for emulator tests

This commit is contained in:
matejcik 2020-01-17 15:46:59 +01:00
parent 6cf48bf485
commit e2f71a1acc
2 changed files with 15 additions and 8 deletions

View File

@ -93,6 +93,12 @@ core unix regular build:
script:
- cd core
- pipenv run make build_unix
artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA"
paths:
- core/build/unix/micropython
- core/src/trezor/res/resources.py
expire_in: 1 week
core unix frozen regular build:
stage: build
@ -107,10 +113,11 @@ core unix frozen regular build:
- core/src/trezor/res/resources.py
expire_in: 1 week
core unix frozen btconly build:
core unix frozen btconly debug build:
stage: build
<<: *only_changes_core
variables:
PYOPT: "0"
BITCOIN_ONLY: "1"
script:
- cd core

View File

@ -33,7 +33,7 @@ core unix unit test:
stage: test
<<: *only_changes_core
dependencies:
- core unix frozen regular build
- core unix regular build
script:
- cd core
- pipenv run make test
@ -42,7 +42,7 @@ core unix device ui test:
stage: test
<<: *only_changes_core
dependencies:
- core unix frozen regular build
- core unix frozen debug build
script:
- cd core
- pipenv run make test_emu_ui
@ -64,7 +64,7 @@ core unix device test:
stage: test
<<: *only_changes_core
dependencies:
- core unix frozen regular build
- core unix frozen debug build
variables:
TREZOR_PROFILING: 1
script:
@ -88,7 +88,7 @@ core unix btconly device test:
stage: test
<<: *only_changes_core
dependencies:
- core unix frozen btconly build
- core unix frozen btconly debug build
variables:
MICROPYTHON: "build/unix/micropython-bitcoinonly"
TREZOR_PYTEST_SKIP_ALTCOINS: 1
@ -109,7 +109,7 @@ core unix monero test:
stage: test
<<: *only_changes_core
dependencies:
- core unix frozen regular build
- core unix frozen debug build
variables:
TREZOR_PROFILING: 1
script:
@ -130,7 +130,7 @@ core unix u2f test:
stage: test
<<: *only_changes_core
dependencies:
- core unix frozen regular build
- core unix frozen debug build
variables:
TREZOR_PROFILING: 1
script:
@ -152,7 +152,7 @@ core unix fido2 test:
stage: test
<<: *only_changes_core
dependencies:
- core unix frozen regular build
- core unix frozen debug build
variables:
TREZOR_PROFILING: 1
script: