Skip to content

Commit 380e74c

Browse files
committed
ci: Add "macOS arm64" task
1 parent f426430 commit 380e74c

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

.cirrus.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,29 @@ task:
342342
path: "insecure_mac_gui.tar.gz"
343343
type: "application/gzip"
344344

345+
task:
346+
name: 'macOS arm64 [gui, no tests] [jammy]'
347+
alias: macos_arm64
348+
<< : *CONTAINER_DEPENDS_TEMPLATE
349+
container:
350+
docker_arguments:
351+
CI_IMAGE_NAME_TAG: ubuntu:jammy
352+
FILE_ENV: "./ci/test/00_setup_env_mac_arm64.sh"
353+
<< : *CREDITS_TEMPLATE
354+
macos_sdk_cache:
355+
folder: "depends/SDKs/$MACOS_SDK"
356+
fingerprint_key: "$MACOS_SDK"
357+
<< : *MAIN_TEMPLATE
358+
env:
359+
MACOS_SDK: "Xcode-12.2-12B45b-extracted-SDK-with-libcxx-headers"
360+
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
361+
copy_artifacts_script:
362+
- cp ci/scratch/build/bitcoin-arm64-apple-darwin/src/qt/bitcoin-qt insecure_mac_arm64_gui
363+
- tar -czf insecure_mac_arm64_gui.tar.gz insecure_mac_arm64_gui
364+
insecure_mac_arm64_gui_artifacts:
365+
path: "insecure_mac_arm64_gui.tar.gz"
366+
type: "application/gzip"
367+
345368
task:
346369
name: 'macOS 13 native arm64 [gui, sqlite only] [no depends]'
347370
macos_instance:

ci/test/00_setup_env_mac_arm64.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Copyright (c) 2019-2021 The Bitcoin Core developers
4+
# Distributed under the MIT software license, see the accompanying
5+
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
6+
7+
export LC_ALL=C.UTF-8
8+
9+
export CONTAINER_NAME=ci_macos_cross
10+
export DOCKER_NAME_TAG=ubuntu:22.04
11+
export HOST=arm64-apple-darwin
12+
export PACKAGES="cmake libz-dev libtinfo5 python3-setuptools xorriso"
13+
export XCODE_VERSION=12.2
14+
export XCODE_BUILD_ID=12B45b
15+
export RUN_UNIT_TESTS=false
16+
export RUN_FUNCTIONAL_TESTS=false
17+
export GOAL="deploy"
18+
export BITCOIN_CONFIG="--with-gui --enable-reduce-exports"

0 commit comments

Comments
 (0)