mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 11:57:28 -03:00
Merge bitcoin/bitcoin#30913: ci: Use macos-14 GHA image (x86_64-apple-darwin22.6.0 -> arm64-apple-darwin23.6.0)
fab932b421
ci: Remove incorrectly hardcoded HOST in mac_native task (MarcoFalke)fa8f35d786
ci: Use macos-14 GHA image (MarcoFalke) Pull request description: There shouldn't be any downside, because XCode remains pinned to the same version. However, builds are expected to be a bit faster with M1, which seems nice. ACKs for top commit: hebasto: ACKfab932b421
. willcl-ark: ACKfab932b421
Tree-SHA512: 9719e05c67b8b5f3d59bd1a38eef00407b1ae5e123b18151c494b6d2dbf55bd2b0b5bb6c1a0469635c7b3bb5f23990d3bb2f339f56ce3955e8a1b97ac9f295d4
This commit is contained in:
commit
a95e742b69
2 changed files with 3 additions and 4 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -74,11 +74,11 @@ jobs:
|
||||||
# Use clang++, because it is a bit faster and uses less memory than g++
|
# Use clang++, because it is a bit faster and uses less memory than g++
|
||||||
git rebase --exec "echo Running test-one-commit on \$( git log -1 ) && CC=clang CXX=clang++ cmake -B build -DWITH_ZMQ=ON -DBUILD_GUI=ON -DBUILD_BENCH=ON -DBUILD_FUZZ_BINARY=ON -DWITH_BDB=ON -DWITH_NATPMP=ON -DWITH_MINIUPNPC=ON -DWITH_USDT=ON && cmake --build build -j $(nproc) && ctest --test-dir build -j $(nproc) && ./build/test/functional/test_runner.py -j $(( $(nproc) * 2 ))" ${{ env.TEST_BASE }}
|
git rebase --exec "echo Running test-one-commit on \$( git log -1 ) && CC=clang CXX=clang++ cmake -B build -DWITH_ZMQ=ON -DBUILD_GUI=ON -DBUILD_BENCH=ON -DBUILD_FUZZ_BINARY=ON -DWITH_BDB=ON -DWITH_NATPMP=ON -DWITH_MINIUPNPC=ON -DWITH_USDT=ON && cmake --build build -j $(nproc) && ctest --test-dir build -j $(nproc) && ./build/test/functional/test_runner.py -j $(( $(nproc) * 2 ))" ${{ env.TEST_BASE }}
|
||||||
|
|
||||||
macos-native-x86_64:
|
macos-native-arm64:
|
||||||
name: 'macOS 13 native, x86_64, no depends, sqlite only, gui'
|
name: 'macOS 14 native, arm64, no depends, sqlite only, gui'
|
||||||
# Use latest image, but hardcode version to avoid silent upgrades (and breaks).
|
# Use latest image, but hardcode version to avoid silent upgrades (and breaks).
|
||||||
# See: https://github.com/actions/runner-images#available-images.
|
# See: https://github.com/actions/runner-images#available-images.
|
||||||
runs-on: macos-13
|
runs-on: macos-14
|
||||||
|
|
||||||
# No need to run on the read-only mirror, unless it is a PR.
|
# No need to run on the read-only mirror, unless it is a PR.
|
||||||
if: github.repository != 'bitcoin-core/gui' || github.event_name == 'pull_request'
|
if: github.repository != 'bitcoin-core/gui' || github.event_name == 'pull_request'
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
|
|
||||||
export LC_ALL=C.UTF-8
|
export LC_ALL=C.UTF-8
|
||||||
|
|
||||||
export HOST=x86_64-apple-darwin
|
|
||||||
# Homebrew's python@3.12 is marked as externally managed (PEP 668).
|
# Homebrew's python@3.12 is marked as externally managed (PEP 668).
|
||||||
# Therefore, `--break-system-packages` is needed.
|
# Therefore, `--break-system-packages` is needed.
|
||||||
export PIP_PACKAGES="--break-system-packages zmq"
|
export PIP_PACKAGES="--break-system-packages zmq"
|
||||||
|
|
Loading…
Reference in a new issue