-DCMAKE_SYSTEM_VERSION=1

is the workaround to update to newer ndk without breaking the entire build system
This commit is contained in:
Czarek Nakamoto
2024-05-23 08:03:35 +02:00
parent d41f4fd6d0
commit c4b28a6a62
5 changed files with 172 additions and 28 deletions

View File

@@ -128,4 +128,35 @@ jobs:
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: release/gh/*
files: release/gh/*
macos-host:
runs-on: macos-13
steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.4'
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: Install brew dependencies
run: |
brew install unbound boost@1.76 zmq
brew link boost@1.76
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- name: Patch sources
run: |
git config --global --add safe.directory '*'
git config --global user.email "ci@mrcyjanek.net"
git config --global user.name "CI mrcyjanek.net"
./apply_patches.sh monero
./apply_patches.sh wownero
- name: monero/host-apple-darwin
run: |
./build-single.sh monero host-apple-darwin -j$(sysctl -n hw.activecpu)
- name: wownero/host-apple-darwin
run: |
./build-single.sh wownero host-apple-darwin -j$(sysctl -n hw.activecpu)