File tree Expand file tree Collapse file tree 5 files changed +18
-17
lines changed Expand file tree Collapse file tree 5 files changed +18
-17
lines changed Original file line number Diff line number Diff line change @@ -312,16 +312,16 @@ task:
312312 FILE_ENV : " ./ci/test/00_setup_env_mac.sh"
313313
314314task :
315- name : ' macOS 12 native x86_64 [gui, system sqlite] [no depends]'
315+ name : ' macOS 13 native arm64 [gui, sqlite only ] [no depends]'
316316 macos_instance :
317317 # Use latest image, but hardcode version to avoid silent upgrades (and breaks)
318- image : monterey-xcode-13.3 # https://cirrus-ci.org/guide/macOS
318+ image : ghcr.io/cirruslabs/macos-ventura-xcode:14.1 # https://cirrus-ci.org/guide/macOS
319319 << : *MACOS_NATIVE_TASK_TEMPLATE
320320 env :
321321 << : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
322322 CI_USE_APT_INSTALL : " no"
323323 PACKAGE_MANAGER_INSTALL : " echo" # Nothing to do
324- FILE_ENV : " ./ci/test/00_setup_env_mac_native_x86_64 .sh"
324+ FILE_ENV : " ./ci/test/00_setup_env_mac_native_arm64 .sh"
325325
326326task :
327327 name : ' ARM64 Android APK [focal]'
Original file line number Diff line number Diff line change @@ -9,7 +9,8 @@ export LC_ALL=C.UTF-8
99export HOST=i686-pc-linux-gnu
1010export CONTAINER_NAME=ci_i686_centos
1111export DOCKER_NAME_TAG=quay.io/centos/centos:stream8
12- export DOCKER_PACKAGES=" gcc-c++ glibc-devel.x86_64 libstdc++-devel.x86_64 glibc-devel.i686 libstdc++-devel.i686 ccache libtool make git python3 python3-zmq which patch lbzip2 xz procps-ng dash rsync coreutils bison"
12+ export DOCKER_PACKAGES=" gcc-c++ glibc-devel.x86_64 libstdc++-devel.x86_64 glibc-devel.i686 libstdc++-devel.i686 ccache libtool make git python3 python3-pip which patch lbzip2 xz procps-ng dash rsync coreutils bison"
13+ export PIP_PACKAGES=" pyzmq"
1314export GOAL=" install"
1415export BITCOIN_CONFIG=" --enable-zmq --with-gui=qt5 --enable-reduce-exports"
1516export CONFIG_SHELL=" /bin/dash"
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export LC_ALL=C.UTF-8
99export HOST=i686-pc-linux-gnu
1010export CONTAINER_NAME=ci_i686_multiprocess
1111export DOCKER_NAME_TAG=ubuntu:20.04
12- export PACKAGES=" cmake python3 python3-pip llvm clang g++-multilib"
12+ export PACKAGES=" cmake python3 llvm clang g++-multilib"
1313export DEP_OPTS=" DEBUG=1 MULTIPROCESS=1"
1414export GOAL=" install"
1515export BITCOIN_CONFIG=" --enable-debug CC='clang -m32' CXX='clang++ -m32' LDFLAGS='--rtlib=compiler-rt -lgcc_s'"
Original file line number Diff line number Diff line change 66
77export LC_ALL=C.UTF-8
88
9- export HOST=x86_64 -apple-darwin
10- export PIP_PACKAGES=" zmq lief "
9+ export HOST=arm64 -apple-darwin
10+ export PIP_PACKAGES=" zmq"
1111export GOAL=" install"
12- export BITCOIN_CONFIG=" --with-gui --enable-reduce-exports"
12+ export BITCOIN_CONFIG=" --with-gui --with-miniupnpc --with-natpmp -- enable-reduce-exports"
1313export CI_OS_NAME=" macos"
1414export NO_DEPENDS=1
1515export OSX_SDK=" "
1616export CCACHE_SIZE=300M
17- export RUN_SECURITY_TESTS=" true"
Original file line number Diff line number Diff line change @@ -10,12 +10,6 @@ if [[ $QEMU_USER_CMD == qemu-s390* ]]; then
1010 export LC_ALL=C
1111fi
1212
13- if [ " $CI_OS_NAME " == " macos" ]; then
14- sudo -H pip3 install --upgrade pip
15- # shellcheck disable=SC2086
16- IN_GETOPT_BIN=" /usr/local/opt/gnu-getopt/bin/getopt" ${CI_RETRY_EXE} pip3 install --user $PIP_PACKAGES
17- fi
18-
1913# Create folders that are mounted into the docker
2014mkdir -p " ${CCACHE_DIR} "
2115mkdir -p " ${PREVIOUS_RELEASES_DIR} "
@@ -78,9 +72,16 @@ elif [ "$CI_USE_APT_INSTALL" != "no" ]; then
7872 fi
7973 ${CI_RETRY_EXE} CI_EXEC apt-get update
8074 ${CI_RETRY_EXE} CI_EXEC apt-get install --no-install-recommends --no-upgrade -y " $PACKAGES " " $DOCKER_PACKAGES "
81- if [ -n " $PIP_PACKAGES " ]; then
75+ fi
76+
77+ if [ -n " $PIP_PACKAGES " ]; then
78+ if [ " $CI_OS_NAME " == " macos" ]; then
79+ sudo -H pip3 install --upgrade pip
80+ # shellcheck disable=SC2086
81+ IN_GETOPT_BIN=" $( brew --prefix gnu-getopt) /bin/getopt" ${CI_RETRY_EXE} pip3 install --user $PIP_PACKAGES
82+ else
8283 # shellcheck disable=SC2086
83- ${CI_RETRY_EXE} pip3 install --user $PIP_PACKAGES
84+ ${CI_RETRY_EXE} CI_EXEC pip3 install --user $PIP_PACKAGES
8485 fi
8586fi
8687
You can’t perform that action at this time.
0 commit comments