1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 15:38:11 +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 untracked: true
expire_in: 1 day 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: test core unix unit:
stage: test stage: test
dependencies: dependencies:
@ -143,10 +153,10 @@ test legacy emu:
test crypto: test crypto:
stage: test stage: test
dependencies: [] # no need to download artifacts dependencies:
- build crypto
script: script:
- cd crypto - cd crypto
- pipenv run make
- ./tests/aestst - ./tests/aestst
- ./tests/test_check - ./tests/test_check
- CK_TIMEOUT_MULTIPLIER=20 valgrind -q --error-exitcode=1 ./tests/test_check - CK_TIMEOUT_MULTIPLIER=20 valgrind -q --error-exitcode=1 ./tests/test_check