Skip to content
Snippets Groups Projects
Commit 294950df authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[data/gitlab-ci] cache pre-commit caches; improve CI scripts

parent d83ed574
No related branches found
No related tags found
No related merge requests found
Pipeline #52916 canceled
......@@ -7,7 +7,8 @@ variables:
PYTHONUNBUFFERED: "1"
CONDA_ROOT: "${CI_PROJECT_DIR}/miniconda"
BOOTSTRAP: "https://gitlab.idiap.ch/bob/bob.devtools/raw/master/bob/devtools/bootstrap.py"
TORCH_HOME: "${CI_PROJECT_DIR}/torch"
TORCH_HOME: "${CI_PROJECT_DIR}/.cache/torch"
PRE_COMMIT_HOME: "${CI_PROJECT_DIR}/.cache/pre-commit"
# Definition of our build pipeline order
......@@ -28,7 +29,9 @@ stages:
- conda activate base
cache:
paths:
- torch
- miniconda.sh
- ${TORCH_HOME}
- ${PRE_COMMIT_HOME}
# Build targets
......
......@@ -7,7 +7,8 @@ variables:
PYTHONUNBUFFERED: "1"
CONDA_ROOT: "${CI_PROJECT_DIR}/miniconda"
BOOTSTRAP: "https://gitlab.idiap.ch/bob/bob.devtools/raw/master/bob/devtools/bootstrap.py"
TORCH_HOME: "${CI_PROJECT_DIR}/torch"
TORCH_HOME: "${CI_PROJECT_DIR}/.cache/torch"
PRE_COMMIT_HOME: "${CI_PROJECT_DIR}/.cache/pre-commit"
# Definition of our build pipeline order
......@@ -29,7 +30,8 @@ stages:
cache:
paths:
- miniconda.sh
- torch
- ${TORCH_HOME}
- ${PRE_COMMIT_HOME}
# Build targets
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment