mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-26 09:28:13 +00:00
parent
ae1a721030
commit
48abff67df
@ -82,17 +82,29 @@ build core unix:
|
|||||||
untracked: true
|
untracked: true
|
||||||
expire_in: 1 day
|
expire_in: 1 day
|
||||||
|
|
||||||
# TODO: matrix: DEBUG_LINK={0,1}, gcc vs clang
|
# TODO: matrix: gcc vs clang
|
||||||
build legacy:
|
build legacy firmware:
|
||||||
stage: build
|
stage: build
|
||||||
variables:
|
|
||||||
HEADLESS: "1"
|
|
||||||
script:
|
script:
|
||||||
- cd legacy
|
- cd legacy
|
||||||
- pipenv run script/cibuild
|
- pipenv run script/cibuild
|
||||||
- pipenv run make -C bootloader
|
- pipenv run make -C bootloader
|
||||||
- pipenv run make -C demo
|
- pipenv run make -C demo
|
||||||
|
|
||||||
|
build legacy emu:
|
||||||
|
stage: build
|
||||||
|
variables:
|
||||||
|
HEADLESS: "1"
|
||||||
|
EMULATOR: "1"
|
||||||
|
DEBUG_LINK: "1"
|
||||||
|
script:
|
||||||
|
- cd legacy
|
||||||
|
- pipenv run script/cibuild
|
||||||
|
artifacts:
|
||||||
|
name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA"
|
||||||
|
untracked: true
|
||||||
|
expire_in: 1 day
|
||||||
|
|
||||||
test core unix unit:
|
test core unix unit:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
@ -111,6 +123,18 @@ test core unix monero:
|
|||||||
- cd core
|
- cd core
|
||||||
- pipenv run make test_emu_monero
|
- pipenv run make test_emu_monero
|
||||||
|
|
||||||
|
# TODO: matrix: do we need to test gcc vs clang as well? or build is enough?
|
||||||
|
# TODO: aren't some tests from .travis.yml missing?
|
||||||
|
test legacy emu:
|
||||||
|
stage: test
|
||||||
|
variables:
|
||||||
|
EMULATOR: "1"
|
||||||
|
dependencies:
|
||||||
|
- build legacy emu
|
||||||
|
script:
|
||||||
|
- cd legacy
|
||||||
|
- pipenv run script/test
|
||||||
|
|
||||||
test crypto:
|
test crypto:
|
||||||
stage: test
|
stage: test
|
||||||
dependencies: [] # no need to download artifacts
|
dependencies: [] # no need to download artifacts
|
||||||
@ -123,19 +147,6 @@ test crypto:
|
|||||||
- ./tests/test_openssl 1000
|
- ./tests/test_openssl 1000
|
||||||
- ITERS=10 pipenv run pytest tests/ # TODO are ITERS=10 propagated?
|
- ITERS=10 pipenv run pytest tests/ # TODO are ITERS=10 propagated?
|
||||||
|
|
||||||
# TODO: matrix: DEBUG_LINK={0,1}, gcc vs clang
|
|
||||||
# TODO add more based on deleted .travis.yml
|
|
||||||
test legacy:
|
|
||||||
stage: test
|
|
||||||
variables:
|
|
||||||
HEADLESS: "1"
|
|
||||||
EMULATOR: "1"
|
|
||||||
DEBUG_LINK: "1"
|
|
||||||
script:
|
|
||||||
- cd legacy
|
|
||||||
- pipenv run script/cibuild
|
|
||||||
- pipenv run script/test
|
|
||||||
|
|
||||||
test storage:
|
test storage:
|
||||||
stage: test
|
stage: test
|
||||||
dependencies: []
|
dependencies: []
|
||||||
|
Loading…
Reference in New Issue
Block a user