1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-13 19:18:56 +00:00

ci: split crypto into build and test stages

This commit is contained in:
Tomas Susanka 2019-04-26 17:40:07 +02:00
parent 34fa641a9b
commit ee6a06a51e

View File

@ -105,6 +105,16 @@ build legacy emu:
untracked: true
expire_in: 1 day
build crypto:
stage: build
script:
- cd crypto
- pipenv run make
artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA"
untracked: true
expire_in: 1 day
test core unix unit:
stage: test
dependencies:
@ -143,10 +153,10 @@ test legacy emu:
test crypto:
stage: test
dependencies: [] # no need to download artifacts
dependencies:
- build crypto
script:
- cd crypto
- pipenv run make
- ./tests/aestst
- ./tests/test_check
- CK_TIMEOUT_MULTIPLIER=20 valgrind -q --error-exitcode=1 ./tests/test_check