Skip to content

Commit 70aba71

Browse files
committed
ci: Add "macOS arm64" task
1 parent 3cd9210 commit 70aba71

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

.cirrus.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,27 @@ task:
328328
path: "insecure_mac_gui.tar.gz"
329329
type: "application/gzip"
330330

331+
task:
332+
name: 'macOS arm64 [gui, no tests] [jammy]'
333+
alias: macos_arm64
334+
<< : *BASE_TEMPLATE
335+
macos_sdk_cache:
336+
folder: "depends/SDKs/$MACOS_SDK"
337+
fingerprint_key: "$MACOS_SDK"
338+
<< : *MAIN_TEMPLATE
339+
container:
340+
image: ubuntu:jammy
341+
env:
342+
MACOS_SDK: "Xcode-12.2-12B45b-extracted-SDK-with-libcxx-headers"
343+
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
344+
FILE_ENV: "./ci/test/00_setup_env_mac_arm64.sh"
345+
copy_artifacts_script:
346+
- cp ci/scratch/build/bitcoin-arm64-apple-darwin/src/qt/bitcoin-qt insecure_mac_arm64_gui
347+
- tar -czf insecure_mac_arm64_gui.tar.gz insecure_mac_arm64_gui
348+
insecure_mac_arm64_gui_artifacts:
349+
path: "insecure_mac_arm64_gui.tar.gz"
350+
type: "application/gzip"
351+
331352
task:
332353
name: 'macOS 13 native arm64 [gui, sqlite only] [no depends]'
333354
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)