mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-10 10:52:31 -05:00
ci: Invalidate depends caches when sources have been changed
This commit is contained in:
parent
939640f87e
commit
f52a72af56
1 changed files with 2 additions and 0 deletions
|
@ -40,6 +40,7 @@ task_template: &TASK_TEMPLATE
|
||||||
folder: "/tmp/ccache_dir"
|
folder: "/tmp/ccache_dir"
|
||||||
depends_built_cache:
|
depends_built_cache:
|
||||||
folder: "depends/built"
|
folder: "depends/built"
|
||||||
|
fingerprint_script: echo $CIRRUS_TASK_NAME $(git rev-list -1 HEAD ./depends)
|
||||||
ci_script:
|
ci_script:
|
||||||
- ./ci/test_run_all.sh
|
- ./ci/test_run_all.sh
|
||||||
|
|
||||||
|
@ -217,6 +218,7 @@ task:
|
||||||
<< : *BASE_TEMPLATE
|
<< : *BASE_TEMPLATE
|
||||||
depends_sources_cache:
|
depends_sources_cache:
|
||||||
folder: "depends/sources"
|
folder: "depends/sources"
|
||||||
|
fingerprint_script: git rev-list -1 HEAD ./depends
|
||||||
<< : *TASK_TEMPLATE
|
<< : *TASK_TEMPLATE
|
||||||
container:
|
container:
|
||||||
image: ubuntu:focal
|
image: ubuntu:focal
|
||||||
|
|
Loading…
Add table
Reference in a new issue