Update .gitea/workflows/build.yaml
Some checks failed
Build Wownero LWS (Mac Fixes) / macos (arm64, macos-arm64, aarch64-apple-darwin11) (push) Failing after 2m2s
Build Wownero LWS (Mac Fixes) / linux-native (push) Successful in 2m23s
Build Wownero LWS (Mac Fixes) / macos (x86_64, macos-x64, x86_64-apple-darwin11) (push) Failing after 1m13s
Build Wownero LWS (Mac Fixes) / linux-cross (aarch64, /usr/aarch64-linux-gnu, aarch64-linux-gnu) (push) Successful in 2m21s
Build Wownero LWS (Mac Fixes) / linux-cross (riscv64, /usr/riscv64-linux-gnu, riscv64-linux-gnu) (push) Successful in 2m6s

This commit is contained in:
2026-02-11 11:46:36 -05:00
parent 3781f72e80
commit 52e8722698

View File

@@ -1,4 +1,4 @@
name: Build Wownero LWS (Mac RT Fix)
name: Build Wownero LWS (Mac Fixes)
on:
push:
branches: [ master, main ]
@@ -247,7 +247,7 @@ jobs:
# ...
# ==================================================================
# JOB 4: MACOS - RT FIX
# JOB 4: MACOS - RT FIX + ARCH FIX
# ==================================================================
macos:
runs-on: macos-latest
@@ -298,11 +298,13 @@ jobs:
mkdir build && cd build
SDK_DIR="$(pwd)/../wownero-sdk"
# FIX: REMOVED -DRT_LIBRARY=rt (MacOS uses libc)
# FIX 1: Explicitly set system processor so x86 build doesn't try to build ARM JIT
# FIX 2: Removed -DRT_LIBRARY=rt (not needed on Mac)
cmake .. -DCMAKE_BUILD_TYPE=Release \
-DBUILD_STATIC=ON \
-DBoost_USE_STATIC_RUNTIME=OFF \
-DCMAKE_OSX_ARCHITECTURES=${{ matrix.arch }} \
-DCMAKE_SYSTEM_PROCESSOR=${{ matrix.arch }} \
-DCMAKE_PREFIX_PATH="$SDK_DIR" \
-DBOOST_ROOT="$SDK_DIR" \
-DOPENSSL_ROOT_DIR="$SDK_DIR" \