Commit b88933db authored by André Anjos's avatar André Anjos 💬

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

parent 94008005
Pipeline #39989 passed with stage
in 3 minutes and 30 seconds
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment