diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index bba3a42..3cdfb46 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -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)