mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-25 17:09:44 +00:00
24 lines
564 B
YAML
24 lines
564 B
YAML
|
image: registry.corp.sldev.cz/trezor/trezor-firmware/environment
|
||
|
|
||
|
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 crypto:
|
||
|
stage: test
|
||
|
dependencies:
|
||
|
- build crypto
|
||
|
script:
|
||
|
- cd crypto
|
||
|
- ./tests/aestst
|
||
|
- ./tests/test_check
|
||
|
- CK_TIMEOUT_MULTIPLIER=20 valgrind -q --error-exitcode=1 ./tests/test_check
|
||
|
- ./tests/test_openssl 1000
|
||
|
- ITERS=10 pipenv run pytest tests/ # TODO are ITERS=10 propagated?
|