Update .gitea/workflows/build.yaml
Some checks failed
Build Wownero LWS (Final) / linux-native (push) Failing after 2m26s
Build Wownero LWS (Final) / linux-cross (aarch64, /usr/aarch64-linux-gnu, aarch64-linux-gnu) (push) Failing after 50s
Build Wownero LWS (Final) / linux-cross (riscv64, /usr/riscv64-linux-gnu, riscv64-linux-gnu) (push) Failing after 49s
Build Wownero LWS (Final) / windows (push) Failing after 1m47s
Build Wownero LWS (Final) / macos (arm64, macos-arm64, aarch64-apple-darwin11) (push) Has been cancelled
Build Wownero LWS (Final) / macos (x86_64, macos-x64, x86_64-apple-darwin11) (push) Has been cancelled

This commit is contained in:
2026-02-10 08:22:23 -05:00
parent e58590a215
commit 7b5e3db0b8

View File

@@ -7,7 +7,7 @@ on:
env:
NODE_TLS_REJECT_UNAUTHORIZED: '0'
CORE_TAG: 'v0.11.4.2'
CORE_TAG: 'v0.11.4.1' # <--- Updated to your successful build
jobs:
# ==================================================================
@@ -248,6 +248,7 @@ jobs:
rm -rf *
git config --global --add safe.directory '*'
git config --global url."http://oauth2:${GITHUB_TOKEN}@git.such.software:3000/Builds/RandomWOW.git".insteadOf "https://codeberg.org/wownero/RandomWOW"
git config --global url."http://oauth2:${GITHUB_TOKEN}@git.such.software:3000/Builds/wownero.git".insteadOf "https://codeberg.org/wownero/wownero.git"
git clone http://oauth2:$GITHUB_TOKEN@git.such.software:3000/${{ github.repository }}.git .
git submodule update --init --recursive
@@ -389,13 +390,10 @@ jobs:
git clone http://oauth2:$GITHUB_TOKEN@git.such.software:3000/${{ github.repository }}.git .
git submodule update --init --recursive
find . -name "CMakeLists.txt" -print0 | xargs -0 perl -pi -e 's/\brt\b//g'
- name: Patch Source
run: |
perl -pi -e 's/handler_loop\s+final/handler_loop/g' src/rest_server.cpp
perl -pi -e 's/find_library\(ICU/# find_library(ICU/g' external/monero/CMakeLists.txt
# Nuke locale requirement for Mac, since we removed it from Core builds
perl -pi -e 's/locale//g' external/monero/CMakeLists.txt
- name: Install CMake
@@ -413,7 +411,7 @@ jobs:
mkdir build && cd build
SDK_DIR="$(pwd)/../wownero-sdk"
# CRITICAL: We set Boost_USE_STATIC_RUNTIME=OFF because our Mac artifacts use shared runtime
# Explicitly set ZSTD and ZLIB to ensure we don't accidentally link system dylibs
cmake .. -DCMAKE_BUILD_TYPE=Release \
-DBUILD_STATIC=ON \
-DBoost_USE_STATIC_RUNTIME=OFF \
@@ -432,6 +430,10 @@ jobs:
-DLIBUSB_LIBRARY="$SDK_DIR/lib/libusb-1.0.a" \
-DHIDAPI_INCLUDE_DIR="$SDK_DIR/include" \
-DHIDAPI_LIBRARY="$SDK_DIR/lib/libhidapi.a" \
-DZSTD_LIBRARY="$SDK_DIR/lib/libzstd.a" \
-DZSTD_INCLUDE_DIR="$SDK_DIR/include" \
-DZLIB_LIBRARY="$SDK_DIR/lib/libz.a" \
-DZLIB_INCLUDE_DIR="$SDK_DIR/include" \
-DUSE_READLINE=OFF
make -j$(sysctl -n hw.ncpu)