Update .gitea/workflows/build.yaml
Some checks failed
Build Wownero LWS (Mac Final Fix) / macos (arm64, macos-arm64, aarch64-apple-darwin11) (push) Failing after 1m58s
Build Wownero LWS (Mac Final Fix) / linux-native (push) Successful in 2m39s
Build Wownero LWS (Mac Final Fix) / macos (x86_64, macos-x64, x86_64-apple-darwin11) (push) Failing after 59s
Build Wownero LWS (Mac Final Fix) / linux-cross (aarch64, /usr/aarch64-linux-gnu, aarch64-linux-gnu) (push) Successful in 2m25s
Build Wownero LWS (Mac Final Fix) / linux-cross (riscv64, /usr/riscv64-linux-gnu, riscv64-linux-gnu) (push) Successful in 2m14s

This commit is contained in:
2026-02-11 12:50:54 -05:00
parent 52e8722698
commit 553a32c546

View File

@@ -1,4 +1,4 @@
name: Build Wownero LWS (Mac Fixes) name: Build Wownero LWS (Mac Final Fix)
on: on:
push: push:
branches: [ master, main ] branches: [ master, main ]
@@ -247,7 +247,7 @@ jobs:
# ... # ...
# ================================================================== # ==================================================================
# JOB 4: MACOS - RT FIX + ARCH FIX # JOB 4: MACOS - RT & JIT FIX
# ================================================================== # ==================================================================
macos: macos:
runs-on: macos-latest runs-on: macos-latest
@@ -298,8 +298,8 @@ jobs:
mkdir build && cd build mkdir build && cd build
SDK_DIR="$(pwd)/../wownero-sdk" SDK_DIR="$(pwd)/../wownero-sdk"
# FIX 1: Explicitly set system processor so x86 build doesn't try to build ARM JIT # FIX 1: Explicitly set system processor so CMake knows target arch
# FIX 2: Removed -DRT_LIBRARY=rt (not needed on Mac) # FIX 2: Explicitly set RT_LIBRARY to empty string to kill the -lrt link error
cmake .. -DCMAKE_BUILD_TYPE=Release \ cmake .. -DCMAKE_BUILD_TYPE=Release \
-DBUILD_STATIC=ON \ -DBUILD_STATIC=ON \
-DBoost_USE_STATIC_RUNTIME=OFF \ -DBoost_USE_STATIC_RUNTIME=OFF \
@@ -325,6 +325,7 @@ jobs:
-DZLIB_INCLUDE_DIR="$SDK_DIR/include" \ -DZLIB_INCLUDE_DIR="$SDK_DIR/include" \
-DLIBEVENT_LIBRARY=$SDK_DIR/lib/libevent.a \ -DLIBEVENT_LIBRARY=$SDK_DIR/lib/libevent.a \
-DLIBEVENT_INCLUDE_DIR=$SDK_DIR/include \ -DLIBEVENT_INCLUDE_DIR=$SDK_DIR/include \
-DRT_LIBRARY="" \
-DUSE_READLINE=OFF -DUSE_READLINE=OFF
make -j$(sysctl -n hw.ncpu) make -j$(sysctl -n hw.ncpu)