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

This commit is contained in:
2026-01-05 12:27:08 -08:00
parent 8594c23cb6
commit 2918352283

View File

@@ -121,7 +121,7 @@ jobs:
rm -rf external/monero/contrib/depends/built/x86_64-w64-mingw32/boost
rm -rf external/monero/contrib/depends/work/download/boost*
# --- 2. UPGRADE BOOST (Triple-Tap Fix with MKDIR) ---
# --- 2. UPGRADE BOOST (The "Give It What It Wants" Fix) ---
- name: Upgrade Boost Version to 1.80.0
run: |
echo "Forcing depends to use Boost 1.80.0..."
@@ -132,22 +132,24 @@ jobs:
sed -i 's/1.69.0/1.80.0/g' $BOOST_MK
sed -i 's/sha256_hash=.*$/sha256_hash=4b2136f98bdd1f5857f1c3dea9ac2018effe65286cf251534b6ae20cc45e1847/g' $BOOST_MK
# 2. Add Libraries
# 2. Add Context/Coroutine libraries
sed -i 's/chrono,/chrono,context,coroutine,/g' $BOOST_MK
# 3. KILL PATCHES (Triple Defense)
# A. Try to delete the line
sed -i '/patches/d' $BOOST_MK
# B. Append an empty variable definition
echo "package_patches=" >> $BOOST_MK
# C. TRICK: Create the folder FIRST, then the fake file
# 3. OVERRIDE PATCHES (Force variable to be empty at end of file)
echo "" >> $BOOST_MK
echo "$(package)_patches=" >> $BOOST_MK
echo "boost_patches=" >> $BOOST_MK
# 4. FAKE FILE (Just in case logic fails, provide a blank patch)
# We force create the directory first so the 'echo' command doesn't fail
mkdir -p external/monero/contrib/depends/packages/boost
echo "" > external/monero/contrib/depends/packages/boost/fix_aroptions.patch
# Debug
# Debug: Show us what we did
echo "--- Modified Boost.mk ---"
cat $BOOST_MK
echo "--- Created Fake Patch ---"
ls -la external/monero/contrib/depends/packages/boost/fix_aroptions.patch
# --- 3. BUILD DEPENDENCIES ---
- name: Build Windows Dependencies