mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 07:28:10 +00:00
ci: improve pipenv caching
This commit is contained in:
parent
5f1586e049
commit
3909e727b0
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,6 @@
|
|||||||
.attic/
|
.attic/
|
||||||
.cache/
|
.cache/
|
||||||
|
.venv/
|
||||||
.idea/
|
.idea/
|
||||||
.mypy_cache/
|
.mypy_cache/
|
||||||
.pytest_cache/
|
.pytest_cache/
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
variables:
|
variables:
|
||||||
# Using git fetch is faster.
|
# Using git fetch is faster
|
||||||
# See https://docs.gitlab.com/ce/user/project/pipelines/settings.html#git-strategy
|
# See https://docs.gitlab.com/ce/user/project/pipelines/settings.html#git-strategy
|
||||||
GIT_STRATEGY: "fetch"
|
GIT_STRATEGY: "fetch"
|
||||||
|
|
||||||
# Init submodules.
|
# Init submodules
|
||||||
# See https://docs.gitlab.com/ee/ci/yaml/#git-submodule-strategy
|
# See https://docs.gitlab.com/ee/ci/yaml/#git-submodule-strategy
|
||||||
GIT_SUBMODULE_STRATEGY: "recursive"
|
GIT_SUBMODULE_STRATEGY: "recursive"
|
||||||
|
|
||||||
@ -12,9 +12,13 @@ variables:
|
|||||||
# See https://docs.gitlab.com/ee/ci/yaml/#shallow-cloning
|
# See https://docs.gitlab.com/ee/ci/yaml/#shallow-cloning
|
||||||
GIT_DEPTH: "50"
|
GIT_DEPTH: "50"
|
||||||
|
|
||||||
# run make paralel
|
# Run `make` in parallel
|
||||||
MAKEFLAGS: "-j10"
|
MAKEFLAGS: "-j10"
|
||||||
|
|
||||||
|
# Pipenv cache
|
||||||
|
PIPENV_VENV_IN_PROJECT: "true"
|
||||||
|
PIPENV_CACHE_DIR: ".cache/"
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- environment
|
- environment
|
||||||
- prebuild
|
- prebuild
|
||||||
|
Loading…
Reference in New Issue
Block a user