From 2b23667d39fdec07895b3174d559ad917c0644f2 Mon Sep 17 00:00:00 2001 From: such-gitea Date: Fri, 9 Jan 2026 08:31:43 -0800 Subject: [PATCH] Update .gitea/workflows/build.yaml --- .gitea/workflows/build.yaml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index c7b2b9e..259f3d2 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -109,8 +109,6 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - # WARNING: 'rm -rf *' deletes the cached dependencies every run. - # If builds take too long, consider removing this line later. echo "Cleaning workspace..." rm -rf * @@ -130,19 +128,23 @@ jobs: /bin/bash -c " set -e - # --- FIX 1: Trust the repo (Fixes 'dubious ownership' error) --- + # --- FIX 1: Trust the repo (Fixes 'dubious ownership') --- git config --global --add safe.directory '*' - # --- FIX 2: Relax Boost Requirement --- - # The 'depends' system built Boost 1.69. The CMake file wants 1.70. - # We change the requirement to 1.69 to match what we have. + # --- FIX 2: Relax Boost Requirement (Allow 1.69) --- echo 'Patching CMakeLists.txt to accept Boost 1.69...' sed -i 's/1.70/1.69/g' CMakeLists.txt || true sed -i 's/1\.70/1\.69/g' CMakeLists.txt || true + + # --- FIX 3: Enable Missing Boost Libraries (Context & Coroutine) --- + # We find the list of libraries in boost.mk and append the ones we need. + # We target 'filesystem' (which is always there) and add our extras after it. + echo 'Patching boost.mk to build context and coroutine...' + sed -i 's/filesystem/filesystem context coroutine/g' external/monero/contrib/depends/packages/boost.mk # 1. Build Dependencies - # Since these are already built in your folder, this step will be instant! - echo 'Checking Dependencies...' + # This will now REBUILD Boost because we changed the recipe (Fix 3). + echo 'Building Dependencies...' cd external/monero/contrib/depends make HOST=x86_64-w64-mingw32 -j$(nproc)