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

[build,data] Cache eventual pytorch checkpoints used in unit testing

parent 94008005
No related branches found
No related tags found
1 merge request!158[build,data] Cache eventual pytorch checkpoints used in unit testing
Pipeline #39989 passed
......@@ -533,6 +533,7 @@ def git_clean_build(runner, verbose):
# glob wild card entries we'd like to keep
exclude_from_cleanup = [
"miniconda.sh", # the installer, cached
"torch", # eventual pytorch caches
"sphinx", # build artifact -- documentation
"coverage.xml", # build artifact -- coverage report
]
......
......@@ -7,6 +7,7 @@ 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"
# Definition of our build pipeline order
......@@ -30,6 +31,7 @@ stages:
cache:
paths:
- miniconda.sh
- torch
# Build target
......
......@@ -6,6 +6,7 @@ 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"
# Definition of our build pipeline order
......@@ -26,6 +27,7 @@ stages:
cache:
paths:
- miniconda.sh
- torch
# Build targets
......
......@@ -7,6 +7,7 @@ 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"
# Definition of our build pipeline order
......@@ -28,6 +29,7 @@ stages:
cache:
paths:
- miniconda.sh
- torch
# Build targets
......@@ -114,6 +116,7 @@ build_linux_37:
cache:
paths:
- miniconda.sh
- torch
.test_linux_template:
......
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