From a3db8bd7cad8562347d88006fd8e0149ee6a1e4d Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Tue, 25 Oct 2022 09:49:16 +0100 Subject: ci: Use `macos-ventura-xcode:14.1` image for "macOS native" task Github-Pull: #26388 Rebased-From: da168934741b776bce07d5503ca2344d300723b3 --- .cirrus.yml | 6 +++--- ci/test/00_setup_env_mac_native_arm64.sh | 16 ++++++++++++++++ ci/test/00_setup_env_mac_native_x86_64.sh | 17 ----------------- 3 files changed, 19 insertions(+), 20 deletions(-) create mode 100755 ci/test/00_setup_env_mac_native_arm64.sh delete mode 100755 ci/test/00_setup_env_mac_native_x86_64.sh diff --git a/.cirrus.yml b/.cirrus.yml index 1f7c28381e..b9e590a1c3 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -289,16 +289,16 @@ task: FILE_ENV: "./ci/test/00_setup_env_mac.sh" task: - name: 'macOS 12 native x86_64 [gui, system sqlite] [no depends]' + name: 'macOS 13 native arm64 [gui, sqlite only] [no depends]' macos_instance: # Use latest image, but hardcode version to avoid silent upgrades (and breaks) - image: monterey-xcode-13.3 # https://cirrus-ci.org/guide/macOS + image: ghcr.io/cirruslabs/macos-ventura-xcode:14.1 # https://cirrus-ci.org/guide/macOS << : *MACOS_NATIVE_TASK_TEMPLATE env: << : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV CI_USE_APT_INSTALL: "no" PACKAGE_MANAGER_INSTALL: "echo" # Nothing to do - FILE_ENV: "./ci/test/00_setup_env_mac_native_x86_64.sh" + FILE_ENV: "./ci/test/00_setup_env_mac_native_arm64.sh" task: name: 'ARM64 Android APK [focal]' diff --git a/ci/test/00_setup_env_mac_native_arm64.sh b/ci/test/00_setup_env_mac_native_arm64.sh new file mode 100755 index 0000000000..cb0e13e77c --- /dev/null +++ b/ci/test/00_setup_env_mac_native_arm64.sh @@ -0,0 +1,16 @@ +#!/usr/bin/env bash +# +# Copyright (c) 2019-2021 The Bitcoin Core developers +# Distributed under the MIT software license, see the accompanying +# file COPYING or http://www.opensource.org/licenses/mit-license.php. + +export LC_ALL=C.UTF-8 + +export HOST=arm64-apple-darwin +export PIP_PACKAGES="zmq" +export GOAL="install" +export BITCOIN_CONFIG="--with-gui --with-miniupnpc --with-natpmp --enable-reduce-exports" +export CI_OS_NAME="macos" +export NO_DEPENDS=1 +export OSX_SDK="" +export CCACHE_SIZE=300M diff --git a/ci/test/00_setup_env_mac_native_x86_64.sh b/ci/test/00_setup_env_mac_native_x86_64.sh deleted file mode 100755 index d176296e76..0000000000 --- a/ci/test/00_setup_env_mac_native_x86_64.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env bash -# -# Copyright (c) 2019-2021 The Bitcoin Core developers -# Distributed under the MIT software license, see the accompanying -# file COPYING or http://www.opensource.org/licenses/mit-license.php. - -export LC_ALL=C.UTF-8 - -export HOST=x86_64-apple-darwin -export PIP_PACKAGES="zmq lief" -export GOAL="install" -export BITCOIN_CONFIG="--with-gui --enable-reduce-exports" -export CI_OS_NAME="macos" -export NO_DEPENDS=1 -export OSX_SDK="" -export CCACHE_SIZE=300M -export RUN_SECURITY_TESTS="true" -- cgit v1.2.3