diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-04-14 09:07:46 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-04-14 09:15:42 +0200 |
commit | 11115c8ee5d628f301c3f9a1ffe3afe37ac831fd (patch) | |
tree | a811b9ec9ea594516ebf0d57bcdd45ee8847cb22 | |
parent | a1f0b8b62eb851c837a3618583b7c2fd4d12006c (diff) |
ci: Only cache depends/sdk-sources for macos/apk task in cirrus
-rw-r--r-- | .cirrus.yml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.cirrus.yml b/.cirrus.yml index 1c3972a9af..d167d92842 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 |