mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-21 22:08:08 +00:00
ci: run make in paralel; use git depth
This commit is contained in:
parent
8ec40bdccb
commit
f3924138fc
@ -1,6 +1,16 @@
|
||||
variables:
|
||||
# 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
|
||||
- build
|
||||
|
Loading…
Reference in New Issue
Block a user