aboutsummaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-08-16 11:46:41 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-08-18 19:32:01 +0300
commitf52a72af569526f319d9f1480eb473b9570125c3 (patch)
treefe5e6298bb8fdac015a8c0032263ed26a3ea21a2 /.cirrus.yml
parent939640f87ec385d08f1b04bfd7f61c80038c4565 (diff)
downloadbitcoin-f52a72af569526f319d9f1480eb473b9570125c3.tar.xz
ci: Invalidate depends caches when sources have been changed
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 178a9fc982..3e2e8864ac 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -40,6 +40,7 @@ task_template: &TASK_TEMPLATE
folder: "/tmp/ccache_dir"
depends_built_cache:
folder: "depends/built"
+ fingerprint_script: echo $CIRRUS_TASK_NAME $(git rev-list -1 HEAD ./depends)
ci_script:
- ./ci/test_run_all.sh
@@ -217,6 +218,7 @@ task:
<< : *BASE_TEMPLATE
depends_sources_cache:
folder: "depends/sources"
+ fingerprint_script: git rev-list -1 HEAD ./depends
<< : *TASK_TEMPLATE
container:
image: ubuntu:focal