aboutsummaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-04-14 16:42:56 +0200
committerMarcoFalke <falke.marco@gmail.com>2021-04-14 16:43:00 +0200
commit8c867ed4ec6ce72958fe3e359eefc794c46535fa (patch)
tree95f76c9938ad199ff5c58058973fca5e091fc2fb /.cirrus.yml
parenta12962ca894075ae203ab808db4ba5dab23346d1 (diff)
parent11115c8ee5d628f301c3f9a1ffe3afe37ac831fd (diff)
downloadbitcoin-8c867ed4ec6ce72958fe3e359eefc794c46535fa.tar.xz
Merge #21675: ci: Only cache depends/sdk-sources for macos/apk task in cirrus
11115c8ee5d628f301c3f9a1ffe3afe37ac831fd ci: Only cache depends/sdk-sources for macos/apk task in cirrus (MarcoFalke) Pull request description: Only macos needs the sdk-sources, so move it there (and remove it from showing up in the other tasks) ACKs for top commit: hebasto: ACK 11115c8ee5d628f301c3f9a1ffe3afe37ac831fd Tree-SHA512: 9e80e74016052e7b00314e191acc84c5e400bbf2e0d93ee7b1494b6be99e671cc326ddaa1fbded82f0912a9e338ad1891019dce78199b08c5180af42cb59729a
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 10cf7f4746..6dc029ee51 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -41,11 +41,13 @@ global_task_template: &GLOBAL_TASK_TEMPLATE
folder: "/tmp/ccache_dir"
depends_built_cache:
folder: "depends/built"
- depends_sdk_cache:
- folder: "depends/sdk-sources"
ci_script:
- ./ci/test_run_all.sh
+depends_sdk_cache_template: &DEPENDS_SDK_CACHE_TEMPLATE
+ depends_sdk_cache:
+ folder: "depends/sdk-sources"
+
compute_credits_template: &CREDITS_TEMPLATE
# https://cirrus-ci.org/pricing/#compute-credits
# Only use credits for pull requests to the main repo
@@ -178,6 +180,7 @@ task:
task:
name: 'macOS 10.14 [gui, no tests] [focal]'
+ << : *DEPENDS_SDK_CACHE_TEMPLATE
<< : *GLOBAL_TASK_TEMPLATE
container:
image: ubuntu:focal
@@ -202,6 +205,7 @@ task:
task:
name: 'ARM64 Android APK [focal]'
+ << : *DEPENDS_SDK_CACHE_TEMPLATE
depends_sources_cache:
folder: "depends/sources"
<< : *GLOBAL_TASK_TEMPLATE