diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-08-16 11:46:41 +0300 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-08-18 19:32:01 +0300 |
commit | f52a72af569526f319d9f1480eb473b9570125c3 (patch) | |
tree | fe5e6298bb8fdac015a8c0032263ed26a3ea21a2 | |
parent | 939640f87ec385d08f1b04bfd7f61c80038c4565 (diff) |
ci: Invalidate depends caches when sources have been changed
-rw-r--r-- | .cirrus.yml | 2 |
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 |