ci: Only cache depends/sdk-sources for macos/apk task in cirrus

This commit is contained in:
MarcoFalke committed 2021-04-14 09:15:42 +02:00
1 parent a1f0b8b62e
commit 11115c8ee5
1 file changed
+6 -2
+6 -2
View File
@@ -41,11 +41,13 @@ global_task_template: &GLOBAL_TASK_TEMPLATE
folder: "/tmp/ccache_dir" folder: "/tmp/ccache_dir"
depends_built_cache: depends_built_cache:
folder: "depends/built" folder: "depends/built"
depends_sdk_cache:
folder: "depends/sdk-sources"
ci_script: ci_script:
- ./ci/test_run_all.sh - ./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 compute_credits_template: &CREDITS_TEMPLATE
# https://cirrus-ci.org/pricing/#compute-credits # https://cirrus-ci.org/pricing/#compute-credits
# Only use credits for pull requests to the main repo # Only use credits for pull requests to the main repo
@@ -178,6 +180,7 @@ task:
task: task:
name: 'macOS 10.14 [gui, no tests] [focal]' name: 'macOS 10.14 [gui, no tests] [focal]'
<< : *DEPENDS_SDK_CACHE_TEMPLATE
<< : *GLOBAL_TASK_TEMPLATE << : *GLOBAL_TASK_TEMPLATE
container: container:
image: ubuntu:focal image: ubuntu:focal
@@ -202,6 +205,7 @@ task:
task: task:
name: 'ARM64 Android APK [focal]' name: 'ARM64 Android APK [focal]'
<< : *DEPENDS_SDK_CACHE_TEMPLATE
depends_sources_cache: depends_sources_cache:
folder: "depends/sources" folder: "depends/sources"
<< : *GLOBAL_TASK_TEMPLATE << : *GLOBAL_TASK_TEMPLATE