Merge bitcoin/bitcoin#25444: ci: macOS task imrovements
0bb7a1f71dci: Improve naming related to "macOS 12 native x86_64" task (Hennadii Stepanov)8e017f3288ci, refactor: Add `MACOS_NATIVE_TASK_TEMPLATE` (Hennadii Stepanov) Pull request description: Split from bitcoin/bitcoin#25160 as [suggested](https://github.com/bitcoin/bitcoin/pull/25160#issuecomment-1162673439). ACKs for top commit: MarcoFalke: ACK0bb7a1f71d🚘 Tree-SHA512: d50fe8a51a3364e76d1a5394f718e30bd2994ccdaa4bf73c017c5d81bff00539dcff1cd3879c8b4b6b442b7248b0aa6491489a27c6dd7ec1f3e976aa2a03c730
This commit is contained in:
2 files changed
+16
-10
No files matched your search
+16
-10
@@ -35,22 +35,30 @@ base_template: &BASE_TEMPLATE
|
|||||||
|
|
||||||
main_template: &MAIN_TEMPLATE
|
main_template: &MAIN_TEMPLATE
|
||||||
timeout_in: 120m # https://cirrus-ci.org/faq/#instance-timed-out
|
timeout_in: 120m # https://cirrus-ci.org/faq/#instance-timed-out
|
||||||
|
ccache_cache:
|
||||||
|
folder: "/tmp/ccache_dir"
|
||||||
|
ci_script:
|
||||||
|
- ./ci/test_run_all.sh
|
||||||
|
|
||||||
|
global_task_template: &GLOBAL_TASK_TEMPLATE
|
||||||
|
<< : *BASE_TEMPLATE
|
||||||
container:
|
container:
|
||||||
# https://cirrus-ci.org/faq/#are-there-any-limits
|
# https://cirrus-ci.org/faq/#are-there-any-limits
|
||||||
# Each project has 16 CPU in total, assign 2 to each container, so that 8 tasks run in parallel
|
# Each project has 16 CPU in total, assign 2 to each container, so that 8 tasks run in parallel
|
||||||
cpu: 2
|
cpu: 2
|
||||||
greedy: true
|
greedy: true
|
||||||
memory: 8G # Set to 8GB to avoid OOM. https://cirrus-ci.org/guide/linux/#linux-containers
|
memory: 8G # Set to 8GB to avoid OOM. https://cirrus-ci.org/guide/linux/#linux-containers
|
||||||
ccache_cache:
|
|
||||||
folder: "/tmp/ccache_dir"
|
|
||||||
depends_built_cache:
|
depends_built_cache:
|
||||||
folder: "depends/built"
|
folder: "depends/built"
|
||||||
fingerprint_script: echo $CIRRUS_TASK_NAME $(git rev-list -1 HEAD ./depends)
|
fingerprint_script: echo $CIRRUS_TASK_NAME $(git rev-list -1 HEAD ./depends)
|
||||||
ci_script:
|
<< : *MAIN_TEMPLATE
|
||||||
- ./ci/test_run_all.sh
|
|
||||||
|
|
||||||
global_task_template: &GLOBAL_TASK_TEMPLATE
|
macos_native_task_template: &MACOS_NATIVE_TASK_TEMPLATE
|
||||||
<< : *BASE_TEMPLATE
|
<< : *BASE_TEMPLATE
|
||||||
|
check_clang_script:
|
||||||
|
- clang --version
|
||||||
|
brew_install_script:
|
||||||
|
- brew install boost libevent qt@5 miniupnpc libnatpmp ccache zeromq qrencode libtool automake gnu-getopt
|
||||||
<< : *MAIN_TEMPLATE
|
<< : *MAIN_TEMPLATE
|
||||||
|
|
||||||
compute_credits_template: &CREDITS_TEMPLATE
|
compute_credits_template: &CREDITS_TEMPLATE
|
||||||
@@ -306,18 +314,16 @@ task:
|
|||||||
FILE_ENV: "./ci/test/00_setup_env_mac.sh"
|
FILE_ENV: "./ci/test/00_setup_env_mac.sh"
|
||||||
|
|
||||||
task:
|
task:
|
||||||
name: 'macOS 12 native [gui, system sqlite only] [no depends]'
|
name: 'macOS 12 native x86_64 [gui, system sqlite] [no depends]'
|
||||||
brew_install_script:
|
|
||||||
- brew install boost libevent qt@5 miniupnpc libnatpmp ccache zeromq qrencode libtool automake gnu-getopt
|
|
||||||
<< : *GLOBAL_TASK_TEMPLATE
|
|
||||||
macos_instance:
|
macos_instance:
|
||||||
# Use latest image, but hardcode version to avoid silent upgrades (and breaks)
|
# Use latest image, but hardcode version to avoid silent upgrades (and breaks)
|
||||||
image: monterey-xcode-13.3 # https://cirrus-ci.org/guide/macOS
|
image: monterey-xcode-13.3 # https://cirrus-ci.org/guide/macOS
|
||||||
|
<< : *MACOS_NATIVE_TASK_TEMPLATE
|
||||||
env:
|
env:
|
||||||
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
|
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
|
||||||
CI_USE_APT_INSTALL: "no"
|
CI_USE_APT_INSTALL: "no"
|
||||||
PACKAGE_MANAGER_INSTALL: "echo" # Nothing to do
|
PACKAGE_MANAGER_INSTALL: "echo" # Nothing to do
|
||||||
FILE_ENV: "./ci/test/00_setup_env_mac_host.sh"
|
FILE_ENV: "./ci/test/00_setup_env_mac_native_x86_64.sh"
|
||||||
|
|
||||||
task:
|
task:
|
||||||
name: 'ARM64 Android APK [focal]'
|
name: 'ARM64 Android APK [focal]'
|
||||||
|
|||||||
File renamed without changes.
Reference in new issue
Block a user