mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-17 21:22:10 +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
56 lines
1.2 KiB
YAML
56 lines
1.2 KiB
YAML
image: registry.corp.sldev.cz/trezor/trezor-firmware/environment
|
|
|
|
build legacy firmware:
|
|
stage: build
|
|
script:
|
|
- cd legacy
|
|
- pipenv run script/cibuild
|
|
- pipenv run make -C bootloader
|
|
- pipenv run make -C demo
|
|
|
|
build legacy firmware debug:
|
|
stage: build
|
|
variables:
|
|
DEBUG_LINK: "1"
|
|
script:
|
|
- cd legacy
|
|
- pipenv run script/cibuild
|
|
- pipenv run make -C bootloader
|
|
- pipenv run make -C demo
|
|
|
|
build legacy firmware bitcoinonly:
|
|
stage: build
|
|
variables:
|
|
BITCOIN_ONLY: "1"
|
|
script:
|
|
- cd legacy
|
|
- pipenv run script/cibuild
|
|
- pipenv run make -C bootloader
|
|
- 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
|
|
|
|
# TODO: aren't some tests from .travis.yml missing?
|
|
test legacy emu:
|
|
variables:
|
|
GIT_SUBMODULE_STRATEGY: none # no need to fetch submodules
|
|
stage: test
|
|
dependencies:
|
|
- build legacy emu
|
|
variables:
|
|
EMULATOR: "1"
|
|
script:
|
|
- cd legacy
|
|
- pipenv run script/test |