aboutsummaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-11-25 19:32:22 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-11-25 21:23:34 +0200
commit3ad5ace351fc298a2f743dc3dd85e11fb1101751 (patch)
treeb808e4ff27040799c92d6362cf507ed15a61b5da /.cirrus.yml
parente988bc7f2e4919aa296f8de1f34cc6d7f6de8aae (diff)
downloadbitcoin-3ad5ace351fc298a2f743dc3dd85e11fb1101751.tar.xz
ci: Revamp Android SDK cache, and update it timely
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml8
1 files changed, 3 insertions, 5 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index c328f442eb..c3cc776926 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -51,10 +51,6 @@ global_task_template: &GLOBAL_TASK_TEMPLATE
<< : *BASE_TEMPLATE
<< : *MAIN_TEMPLATE
-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
@@ -300,8 +296,10 @@ task:
task:
name: 'ARM64 Android APK [focal]'
- << : *DEPENDS_SDK_CACHE_TEMPLATE
<< : *BASE_TEMPLATE
+ android_sdk_cache:
+ folder: "depends/SDKs/android"
+ fingerprint_key: "ANDROID_API_LEVEL=28 ANDROID_BUILD_TOOLS_VERSION=28.0.3 ANDROID_NDK_VERSION=22.1.7171670"
depends_sources_cache:
folder: "depends/sources"
fingerprint_script: git rev-list -1 HEAD ./depends