Update .gitea/workflows/build.yaml
Some checks failed
Build Wownero LWS / build-macos (push) Successful in 1m29s
Build Wownero LWS / build-linux (push) Successful in 2m1s
Build Wownero LWS / build-windows (push) Failing after 56s

This commit is contained in:
2026-01-07 10:26:31 -08:00
parent f5a88c41bf
commit 96c28eb6fc

View File

@@ -117,16 +117,14 @@ jobs:
# --- 1. CLEANUP ---
- name: Clean Environment
run: |
echo "Cleaning build environment..."
rm -rf external/monero/contrib/depends/work/build/x86_64-w64-mingw32/boost
rm -rf external/monero/contrib/depends/built/x86_64-w64-mingw32/boost
rm -rf external/monero/contrib/depends/work/download/boost*
rm -rf external/monero/contrib/depends/packages/boost
# --- 2. UPGRADE & DISABLE PATCHES (The "Lobotomy" Fix) ---
# --- 2. UPGRADE & DISABLE PATCHES ---
- name: Configure Boost 1.80.0
run: |
echo "Configuring Boost 1.80.0..."
BOOST_MK="external/monero/contrib/depends/packages/boost.mk"
FUNCS_MK="external/monero/contrib/depends/funcs.mk"
@@ -138,15 +136,10 @@ jobs:
# 2. Add Context/Coroutine libraries
sed -i 's/chrono,/chrono,context,coroutine,/g' $BOOST_MK
# 3. GLOBALLY DISABLE PATCHING
# We replace the 'patch' command with 'true' (do nothing).
# This ensures that even if Make tries to apply a patch, it just "succeeds" instantly.
# We search for 'patch -p1' and replace it.
sed -i 's/patch -p1/true/g' $FUNCS_MK
# Debug: Verify the surgery (Should show 'true', not 'patch')
echo "--- Checking funcs.mk ---"
grep "true" $FUNCS_MK | head -n 1
# 3. DISABLE PATCHING ENGINE (The Fix)
# We blindly replace 'patch -p1' with 'true' (do nothing).
# '|| true' ensures this step never fails the build, even if sed finds nothing.
sed -i 's/patch -p1/true/g' $FUNCS_MK || true
# --- 3. BUILD DEPENDENCIES ---
- name: Build Windows Dependencies
@@ -157,7 +150,6 @@ jobs:
# --- 4. PATCH APP CODE ---
- name: Patch App Source Code
run: |
echo "Fixing missing <cstdint> include for GCC 13..."
sed -i 's/#include <list>/#include <list>\n#include <cstdint>/' external/monero/contrib/epee/include/net/http_base.h
# --- 5. COMPILE APP ---