@@ -35,22 +35,30 @@ base_template: &BASE_TEMPLATE
35
35
36
36
main_template : &MAIN_TEMPLATE
37
37
timeout_in : 120m # https://cirrus-ci.org/faq/#instance-timed-out
38
+ ccache_cache :
39
+ folder : " /tmp/ccache_dir"
40
+ ci_script :
41
+ - ./ci/test_run_all.sh
42
+
43
+ global_task_template : &GLOBAL_TASK_TEMPLATE
44
+ << : *BASE_TEMPLATE
38
45
container :
39
46
# https://cirrus-ci.org/faq/#are-there-any-limits
40
47
# Each project has 16 CPU in total, assign 2 to each container, so that 8 tasks run in parallel
41
48
cpu : 2
42
49
greedy : true
43
50
memory : 8G # Set to 8GB to avoid OOM. https://cirrus-ci.org/guide/linux/#linux-containers
44
- ccache_cache :
45
- folder : " /tmp/ccache_dir"
46
51
depends_built_cache :
47
52
folder : " depends/built"
48
53
fingerprint_script : echo $CIRRUS_TASK_NAME $(git rev-list -1 HEAD ./depends)
49
- ci_script :
50
- - ./ci/test_run_all.sh
54
+ << : *MAIN_TEMPLATE
51
55
52
- global_task_template : &GLOBAL_TASK_TEMPLATE
56
+ macos_native_task_template : &MACOS_NATIVE_TASK_TEMPLATE
53
57
<< : *BASE_TEMPLATE
58
+ check_clang_script :
59
+ - clang --version
60
+ brew_install_script :
61
+ - brew install boost libevent qt@5 miniupnpc libnatpmp ccache zeromq qrencode libtool automake gnu-getopt
54
62
<< : *MAIN_TEMPLATE
55
63
56
64
compute_credits_template : &CREDITS_TEMPLATE
@@ -306,18 +314,16 @@ task:
306
314
FILE_ENV : " ./ci/test/00_setup_env_mac.sh"
307
315
308
316
task :
309
- name : ' macOS 12 native [gui, system sqlite only] [no depends]'
310
- brew_install_script :
311
- - brew install boost libevent qt@5 miniupnpc libnatpmp ccache zeromq qrencode libtool automake gnu-getopt
312
- << : *GLOBAL_TASK_TEMPLATE
317
+ name : ' macOS 12 native x86_64 [gui, system sqlite] [no depends]'
313
318
macos_instance :
314
319
# Use latest image, but hardcode version to avoid silent upgrades (and breaks)
315
320
image : monterey-xcode-13.3 # https://cirrus-ci.org/guide/macOS
321
+ << : *MACOS_NATIVE_TASK_TEMPLATE
316
322
env :
317
323
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
318
324
CI_USE_APT_INSTALL : " no"
319
325
PACKAGE_MANAGER_INSTALL : " echo" # Nothing to do
320
- FILE_ENV : " ./ci/test/00_setup_env_mac_host .sh"
326
+ FILE_ENV : " ./ci/test/00_setup_env_mac_native_x86_64 .sh"
321
327
322
328
task :
323
329
name : ' ARM64 Android APK [focal]'
0 commit comments