mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-23 21:02:23 +00:00
ci: use frozen debug builds for emulator tests
This commit is contained in:
parent
6cf48bf485
commit
e2f71a1acc
@ -93,6 +93,12 @@ core unix regular build:
|
|||||||
script:
|
script:
|
||||||
- cd core
|
- cd core
|
||||||
- pipenv run make build_unix
|
- 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:
|
core unix frozen regular build:
|
||||||
stage: build
|
stage: build
|
||||||
@ -107,10 +113,11 @@ core unix frozen regular build:
|
|||||||
- core/src/trezor/res/resources.py
|
- core/src/trezor/res/resources.py
|
||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
|
|
||||||
core unix frozen btconly build:
|
core unix frozen btconly debug build:
|
||||||
stage: build
|
stage: build
|
||||||
<<: *only_changes_core
|
<<: *only_changes_core
|
||||||
variables:
|
variables:
|
||||||
|
PYOPT: "0"
|
||||||
BITCOIN_ONLY: "1"
|
BITCOIN_ONLY: "1"
|
||||||
script:
|
script:
|
||||||
- cd core
|
- cd core
|
||||||
|
14
ci/test.yml
14
ci/test.yml
@ -33,7 +33,7 @@ core unix unit test:
|
|||||||
stage: test
|
stage: test
|
||||||
<<: *only_changes_core
|
<<: *only_changes_core
|
||||||
dependencies:
|
dependencies:
|
||||||
- core unix frozen regular build
|
- core unix regular build
|
||||||
script:
|
script:
|
||||||
- cd core
|
- cd core
|
||||||
- pipenv run make test
|
- pipenv run make test
|
||||||
@ -42,7 +42,7 @@ core unix device ui test:
|
|||||||
stage: test
|
stage: test
|
||||||
<<: *only_changes_core
|
<<: *only_changes_core
|
||||||
dependencies:
|
dependencies:
|
||||||
- core unix frozen regular build
|
- core unix frozen debug build
|
||||||
script:
|
script:
|
||||||
- cd core
|
- cd core
|
||||||
- pipenv run make test_emu_ui
|
- pipenv run make test_emu_ui
|
||||||
@ -64,7 +64,7 @@ core unix device test:
|
|||||||
stage: test
|
stage: test
|
||||||
<<: *only_changes_core
|
<<: *only_changes_core
|
||||||
dependencies:
|
dependencies:
|
||||||
- core unix frozen regular build
|
- core unix frozen debug build
|
||||||
variables:
|
variables:
|
||||||
TREZOR_PROFILING: 1
|
TREZOR_PROFILING: 1
|
||||||
script:
|
script:
|
||||||
@ -88,7 +88,7 @@ core unix btconly device test:
|
|||||||
stage: test
|
stage: test
|
||||||
<<: *only_changes_core
|
<<: *only_changes_core
|
||||||
dependencies:
|
dependencies:
|
||||||
- core unix frozen btconly build
|
- core unix frozen btconly debug build
|
||||||
variables:
|
variables:
|
||||||
MICROPYTHON: "build/unix/micropython-bitcoinonly"
|
MICROPYTHON: "build/unix/micropython-bitcoinonly"
|
||||||
TREZOR_PYTEST_SKIP_ALTCOINS: 1
|
TREZOR_PYTEST_SKIP_ALTCOINS: 1
|
||||||
@ -109,7 +109,7 @@ core unix monero test:
|
|||||||
stage: test
|
stage: test
|
||||||
<<: *only_changes_core
|
<<: *only_changes_core
|
||||||
dependencies:
|
dependencies:
|
||||||
- core unix frozen regular build
|
- core unix frozen debug build
|
||||||
variables:
|
variables:
|
||||||
TREZOR_PROFILING: 1
|
TREZOR_PROFILING: 1
|
||||||
script:
|
script:
|
||||||
@ -130,7 +130,7 @@ core unix u2f test:
|
|||||||
stage: test
|
stage: test
|
||||||
<<: *only_changes_core
|
<<: *only_changes_core
|
||||||
dependencies:
|
dependencies:
|
||||||
- core unix frozen regular build
|
- core unix frozen debug build
|
||||||
variables:
|
variables:
|
||||||
TREZOR_PROFILING: 1
|
TREZOR_PROFILING: 1
|
||||||
script:
|
script:
|
||||||
@ -152,7 +152,7 @@ core unix fido2 test:
|
|||||||
stage: test
|
stage: test
|
||||||
<<: *only_changes_core
|
<<: *only_changes_core
|
||||||
dependencies:
|
dependencies:
|
||||||
- core unix frozen regular build
|
- core unix frozen debug build
|
||||||
variables:
|
variables:
|
||||||
TREZOR_PROFILING: 1
|
TREZOR_PROFILING: 1
|
||||||
script:
|
script:
|
||||||
|
Loading…
Reference in New Issue
Block a user