mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-13 19:18:56 +00:00
35 lines
816 B
YAML
35 lines
816 B
YAML
variables:
|
|
# Using git fetch is faster.
|
|
# See https://docs.gitlab.com/ce/user/project/pipelines/settings.html#git-strategy
|
|
GIT_STRATEGY: "fetch"
|
|
|
|
# Init submodules.
|
|
# See https://docs.gitlab.com/ee/ci/yaml/#git-submodule-strategy
|
|
GIT_SUBMODULE_STRATEGY: "recursive"
|
|
|
|
# Use shallow cloning to speed up git clone. This can fail, if retrying an older build on CI
|
|
# and the old commit is not in the shallow history any more.
|
|
# See https://docs.gitlab.com/ee/ci/yaml/#shallow-cloning
|
|
GIT_DEPTH: "50"
|
|
|
|
# run make paralel
|
|
MAKEFLAGS: "-j10"
|
|
|
|
stages:
|
|
- environment
|
|
- prebuild
|
|
- build
|
|
- test
|
|
|
|
before_script:
|
|
- pipenv install
|
|
|
|
include:
|
|
- ci/environment.yml
|
|
- ci/prebuild.yml # common, style
|
|
- ci/core.yml
|
|
- ci/legacy.yml
|
|
# - ci/python.yml TODO
|
|
- ci/crypto.yml
|
|
- ci/storage.yml
|