aboutsummaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-08-16 11:44:54 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-08-16 12:48:24 +0300
commit939640f87ec385d08f1b04bfd7f61c80038c4565 (patch)
tree78afa0baf1066c6710765209293a2b392affdf60 /.cirrus.yml
parent3facf0a8ae99a03f5e2fb709b8d86c47328d363c (diff)
downloadbitcoin-939640f87ec385d08f1b04bfd7f61c80038c4565.tar.xz
ci: Reorder scripts to make git available before depends_sources_cache
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml10
1 files changed, 7 insertions, 3 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 26bd27754f..178a9fc982 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -29,8 +29,7 @@ base_template: &BASE_TEMPLATE
- git merge FETCH_HEAD # Merge base to detect silent merge conflicts
stateful: false # https://cirrus-ci.org/guide/writing-tasks/#stateful-tasks
-global_task_template: &GLOBAL_TASK_TEMPLATE
- << : *BASE_TEMPLATE
+task_template: &TASK_TEMPLATE
timeout_in: 120m # https://cirrus-ci.org/faq/#instance-timed-out
container:
# https://cirrus-ci.org/faq/#are-there-any-limits
@@ -44,6 +43,10 @@ global_task_template: &GLOBAL_TASK_TEMPLATE
ci_script:
- ./ci/test_run_all.sh
+global_task_template: &GLOBAL_TASK_TEMPLATE
+ << : *BASE_TEMPLATE
+ << : *TASK_TEMPLATE
+
depends_sdk_cache_template: &DEPENDS_SDK_CACHE_TEMPLATE
depends_sdk_cache:
folder: "depends/sdk-sources"
@@ -211,9 +214,10 @@ task:
task:
name: 'ARM64 Android APK [focal]'
<< : *DEPENDS_SDK_CACHE_TEMPLATE
+ << : *BASE_TEMPLATE
depends_sources_cache:
folder: "depends/sources"
- << : *GLOBAL_TASK_TEMPLATE
+ << : *TASK_TEMPLATE
container:
image: ubuntu:focal
env: