forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #219: cmake: Add
BOOST_NO_CXX98_FUNCTION_BASE
definition when…
… needed bf49bde fixup! ci: Migrate CI scripts to CMake (Hennadii Stepanov) 3f4a57d fixup! cmake: Build `bitcoind` executable (Hennadii Stepanov) Pull request description: This PR mirrors the master branch behaviour. ACKs for top commit: m3dwards: ACK bf49bde Tree-SHA512: 2ac23cd3a2d28febd357b3ea6c2631dbb9a5edfbef12330a74812b0edf351d15be05e6afbcaec44c455059de8539f23543bbfb0c5cd3bf0b546e5a40d746f26c
- Loading branch information
Showing
2 changed files
with
37 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -520,17 +520,23 @@ jobs: | |
macos-native: | ||
name: '${{ matrix.os.name }}, ${{ matrix.xcode.name }}' | ||
runs-on: ${{ matrix.os.os }} | ||
name: '${{ matrix.conf.name }}, ${{ matrix.xcode.name }}' | ||
runs-on: ${{ matrix.conf.os }} | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: | ||
conf: | ||
- name: 'macOS 13 native, x86_64' | ||
os: macos-13 | ||
boost_package: 'boost' | ||
- name: 'macOS 14 native, arm64' | ||
os: macos-14 | ||
boost_package: 'boost' | ||
- name: 'macOS 14 native, arm64, Boost 1.76' | ||
os: macos-14 | ||
boost_package: '[email protected]' | ||
build_options: '-DBoost_INCLUDE_DIR=/opt/homebrew/opt/[email protected]/include' | ||
xcode: | ||
- name: 'Xcode 15.2' | ||
id: 'xcode-15.2' | ||
|
@@ -546,7 +552,7 @@ jobs: | |
clang --version | ||
- name: Workaround for Homebrew python link | ||
if: matrix.os.os == 'macos-13' | ||
if: matrix.conf.os == 'macos-13' | ||
env: | ||
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: 1 | ||
run: | | ||
|
@@ -556,7 +562,7 @@ jobs: | |
env: | ||
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: 1 | ||
run: | | ||
brew install ccache cmake pkg-config boost libevent berkeley-db@4 qt@5 qrencode libnatpmp miniupnpc zeromq tree | ||
brew install ccache cmake pkg-config ${{ matrix.conf.boost_package }} libevent berkeley-db@4 qt@5 qrencode libnatpmp miniupnpc zeromq tree | ||
echo "CCACHE_DIR=${{ runner.temp }}/ccache" >> "$GITHUB_ENV" | ||
- name: CMake version | ||
|
@@ -569,12 +575,12 @@ jobs: | |
id: ccache-cache | ||
with: | ||
path: ${{ env.CCACHE_DIR }} | ||
key: ${{ matrix.os.os }}-${{ matrix.xcode.id }}-ccache-${{ github.run_id }} | ||
restore-keys: ${{ matrix.os.os }}-${{ matrix.xcode.id }}-ccache- | ||
key: ${{ matrix.conf.os }}-${{ matrix.xcode.id }}-ccache-${{ github.run_id }} | ||
restore-keys: ${{ matrix.conf.os }}-${{ matrix.xcode.id }}-ccache- | ||
|
||
- name: Generate build system | ||
run: | | ||
cmake -B build --preset ci-darwin | ||
cmake -B build --preset ci-darwin ${{ matrix.conf.build_options }} | ||
- name: Build | ||
env: | ||
|
@@ -593,7 +599,7 @@ jobs: | |
if: github.event_name != 'pull_request' && steps.ccache-cache.outputs.cache-hit != 'true' | ||
with: | ||
path: ${{ env.CCACHE_DIR }} | ||
key: ${{ matrix.os.os }}-${{ matrix.xcode.id }}-ccache-${{ github.run_id }} | ||
key: ${{ matrix.conf.os }}-${{ matrix.xcode.id }}-ccache-${{ github.run_id }} | ||
|
||
- name: Test | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters