mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
Merge 1b12e384a2
into 5bf0409eba
This commit is contained in:
commit
79c2dbd07e
@ -47,7 +47,7 @@ builder-image:
|
|||||||
before_script:
|
before_script:
|
||||||
- echo HOST=$HOST
|
- echo HOST=$HOST
|
||||||
- |
|
- |
|
||||||
if [ "$HOST" = "x86_64-apple-darwin" ]; then
|
if [ "$HOST" = "x86_64-apple-darwin" || "$HOST" = "aarch64-apple-darwin" ]; then
|
||||||
mkdir -p depends/SDKs
|
mkdir -p depends/SDKs
|
||||||
mkdir -p depends/sdk-sources
|
mkdir -p depends/sdk-sources
|
||||||
OSX_SDK_BASENAME="Xcode-${XCODE_VERSION}-${XCODE_BUILD_ID}-extracted-SDK-with-libcxx-headers.tar.gz"
|
OSX_SDK_BASENAME="Xcode-${XCODE_VERSION}-${XCODE_BUILD_ID}-extracted-SDK-with-libcxx-headers.tar.gz"
|
||||||
@ -222,7 +222,12 @@ x86_64-apple-darwin:
|
|||||||
variables:
|
variables:
|
||||||
HOST: x86_64-apple-darwin
|
HOST: x86_64-apple-darwin
|
||||||
|
|
||||||
###
|
aarch64-apple-darwin:
|
||||||
|
extends:
|
||||||
|
- .build-depends-template
|
||||||
|
- .skip-in-fast-mode-template
|
||||||
|
variables:
|
||||||
|
HOST: aarch64-apple-darwin
|
||||||
|
|
||||||
arm-linux-build:
|
arm-linux-build:
|
||||||
extends: .build-template
|
extends: .build-template
|
||||||
@ -328,6 +333,7 @@ linux64_multiprocess-build:
|
|||||||
# variables:
|
# variables:
|
||||||
# BUILD_TARGET: linux64_valgrind
|
# BUILD_TARGET: linux64_valgrind
|
||||||
|
|
||||||
|
|
||||||
mac-build:
|
mac-build:
|
||||||
extends:
|
extends:
|
||||||
- .build-template
|
- .build-template
|
||||||
@ -336,6 +342,14 @@ mac-build:
|
|||||||
- x86_64-apple-darwin
|
- x86_64-apple-darwin
|
||||||
variables:
|
variables:
|
||||||
BUILD_TARGET: mac
|
BUILD_TARGET: mac
|
||||||
|
arm-mac-build:
|
||||||
|
extends:
|
||||||
|
- .build-template
|
||||||
|
- .skip-in-fast-mode-template
|
||||||
|
needs:
|
||||||
|
- aarch64-apple-darwin
|
||||||
|
variables:
|
||||||
|
BUILD_TARGET: arm-mac
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|
||||||
|
@ -40,6 +40,8 @@ elif [ "$BUILD_TARGET" = "linux64_valgrind" ]; then
|
|||||||
source ./ci/test/00_setup_env_native_valgrind.sh
|
source ./ci/test/00_setup_env_native_valgrind.sh
|
||||||
elif [ "$BUILD_TARGET" = "mac" ]; then
|
elif [ "$BUILD_TARGET" = "mac" ]; then
|
||||||
source ./ci/test/00_setup_env_mac.sh
|
source ./ci/test/00_setup_env_mac.sh
|
||||||
|
elif [ "$BUILD_TARGET" = "arm-mac" ]; then
|
||||||
|
source ./ci/test/00_setup_env_mac.sh
|
||||||
elif [ "$BUILD_TARGET" = "s390x" ]; then
|
elif [ "$BUILD_TARGET" = "s390x" ]; then
|
||||||
source ./ci/test/00_setup_env_s390x.sh
|
source ./ci/test/00_setup_env_s390x.sh
|
||||||
elif [ "$BUILD_TARGET" = "win64" ]; then
|
elif [ "$BUILD_TARGET" = "win64" ]; then
|
||||||
|
17
ci/test/00_setup_env_arm_mac.sh
Executable file
17
ci/test/00_setup_env_arm_mac.sh
Executable file
@ -0,0 +1,17 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# Copyright (c) 2019-2020 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 CONTAINER_NAME=ci_arm-macos_cross
|
||||||
|
export HOST=aarch64-apple-darwin
|
||||||
|
export PACKAGES="cmake libcap-dev libz-dev libbz2-dev python3-dev python3-setuptools"
|
||||||
|
export XCODE_VERSION=12.2
|
||||||
|
export XCODE_BUILD_ID=12B45b
|
||||||
|
export RUN_UNIT_TESTS=false
|
||||||
|
export RUN_INTEGRATION_TESTS=false
|
||||||
|
export GOAL="all deploy"
|
||||||
|
export BITCOIN_CONFIG="--enable-gui --enable-reduce-exports --disable-miner --enable-werror"
|
19
ci/test/00_setup_env_arm_mac_host.sh
Executable file
19
ci/test/00_setup_env_arm_mac_host.sh
Executable file
@ -0,0 +1,19 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# Copyright (c) 2019-2020 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 CONTAINER_NAME=ci_arm-macos
|
||||||
|
export HOST=aarch64-apple-darwin
|
||||||
|
export PIP_PACKAGES="zmq lief"
|
||||||
|
export RUN_UNIT_TESTS=true
|
||||||
|
export RUN_INTEGRATION_TESTS=false
|
||||||
|
export RUN_SECURITY_TESTS="true"
|
||||||
|
export GOAL="install"
|
||||||
|
export BITCOIN_CONFIG="--enable-gui --enable-reduce-exports --disable-miner --enable-werror"
|
||||||
|
# Run without depends
|
||||||
|
export NO_DEPENDS=1
|
||||||
|
export OSX_SDK=""
|
Loading…
Reference in New Issue
Block a user