mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-25 17:09:44 +00:00
fe3d67e259
I've decided to omit some places (e.g. build crypto) where it might be confusing if some submodules dependency is introduced. Well, that concerns tests stages as well, but I guess it is more likely for the build stage. Updates #108
59 lines
1.3 KiB
YAML
59 lines
1.3 KiB
YAML
image: registry.corp.sldev.cz/trezor/trezor-firmware/environment
|
|
|
|
build core firmware:
|
|
stage: build
|
|
script:
|
|
- cd core
|
|
- pipenv run make build_cross
|
|
- pipenv run make build_boardloader
|
|
- pipenv run make build_bootloader
|
|
- pipenv run make build_prodtest
|
|
- pipenv run make build_firmware
|
|
# - test "$TREZOR_MODEL" = "1" || pipenv run make sizecheck
|
|
artifacts:
|
|
name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA"
|
|
paths:
|
|
- core/build/firmware/firmware.bin
|
|
- core/build/bootloader/bootloader.bin
|
|
expire_in: 1 week
|
|
|
|
build core unix:
|
|
stage: build
|
|
script:
|
|
- cd core
|
|
- pipenv run make build_unix_noui
|
|
artifacts:
|
|
name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA"
|
|
untracked: true
|
|
expire_in: 1 day
|
|
|
|
test core unix unit:
|
|
stage: test
|
|
variables:
|
|
GIT_SUBMODULE_STRATEGY: none # no need to fetch submodules
|
|
dependencies:
|
|
- build core unix
|
|
script:
|
|
- cd core
|
|
- pipenv run make test
|
|
|
|
test core unix device:
|
|
stage: test
|
|
variables:
|
|
GIT_SUBMODULE_STRATEGY: none # no need to fetch submodules
|
|
dependencies:
|
|
- build core unix
|
|
script:
|
|
- cd core
|
|
- pipenv run make test_emu
|
|
|
|
test core unix monero:
|
|
stage: test
|
|
variables:
|
|
GIT_SUBMODULE_STRATEGY: none # no need to fetch submodules
|
|
dependencies:
|
|
- build core unix
|
|
script:
|
|
- cd core
|
|
- pipenv run make test_emu_monero
|