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

This commit is contained in:
2026-01-07 06:25:14 -08:00
parent 6d8157e85e
commit 324ae6aa0d

View File

@@ -121,32 +121,32 @@ jobs:
rm -rf external/monero/contrib/depends/work/build/x86_64-w64-mingw32/boost 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/built/x86_64-w64-mingw32/boost
rm -rf external/monero/contrib/depends/work/download/boost* rm -rf external/monero/contrib/depends/work/download/boost*
# Remove the patch directory entirely so no files can be found by accident # Delete the patch directory so there is zero confusion
rm -rf external/monero/contrib/depends/packages/boost rm -rf external/monero/contrib/depends/packages/boost
# --- 2. UPGRADE BOOST & DISABLE PATCHES (The Variable Nuke) --- # --- 2. UPGRADE BOOST & REMOVE PATCHES (The "Grep -v" Method) ---
- name: Configure Boost 1.80.0 - name: Configure Boost 1.80.0
run: | run: |
echo "Modifying boost.mk..." echo "Configuring Boost 1.80.0..."
BOOST_MK="external/monero/contrib/depends/packages/boost.mk" BOOST_MK="external/monero/contrib/depends/packages/boost.mk"
# 1. Update Version and Hash (Standard Fix) # 1. Update Version and Hash
sed -i 's/1_69_0/1_80_0/g' $BOOST_MK sed -i 's/1_69_0/1_80_0/g' $BOOST_MK
sed -i 's/1.69.0/1.80.0/g' $BOOST_MK sed -i 's/1.69.0/1.80.0/g' $BOOST_MK
sed -i 's/sha256_hash=.*$/sha256_hash=4b2136f98bdd1f5857f1c3dea9ac2018effe65286cf251534b6ae20cc45e1847/g' $BOOST_MK sed -i 's/sha256_hash=.*$/sha256_hash=4b2136f98bdd1f5857f1c3dea9ac2018effe65286cf251534b6ae20cc45e1847/g' $BOOST_MK
# 2. Add Context/Coroutine libraries (Standard Fix) # 2. Add Context/Coroutine libraries
sed -i 's/chrono,/chrono,context,coroutine,/g' $BOOST_MK sed -i 's/chrono,/chrono,context,coroutine,/g' $BOOST_MK
# 3. NUKE THE PATCH LIST (The Logic Fix) # 3. NUKE PATCHES (The Robust Fix)
# We look for any line containing "_patches" and an "=" sign. # We read the file, filter out ANY line with the word "patches", and write it back.
# We replace the ENTIRE LINE with an empty variable declaration. # This guarantees the variable definition is GONE.
# This forces Make to believe there are zero patches to apply. grep -v "patches" $BOOST_MK > boost_clean.mk
sed -i 's/^.*_patches.*=.*$/$(package)_patches=/' $BOOST_MK mv boost_clean.mk $BOOST_MK
# Debug: Verify the file looks correct (Look for the empty patches line) # Debug: Verify content (There should be no output from this grep)
echo "--- Verifying boost.mk content ---" echo "--- Checking for leftover patches... ---"
cat $BOOST_MK grep "patches" $BOOST_MK || echo "Confirmed: No patches found in Makefile."
# --- 3. BUILD DEPENDENCIES --- # --- 3. BUILD DEPENDENCIES ---
- name: Build Windows Dependencies - name: Build Windows Dependencies