From feec09ce2c96fd861779a66e34ca28ebddd340fa Mon Sep 17 00:00:00 2001 From: such-gitea Date: Tue, 20 Jan 2026 14:10:16 -0500 Subject: [PATCH] Update .gitea/workflows/build.yaml --- .gitea/workflows/build.yaml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index bacbd8c..48057b5 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -17,6 +17,9 @@ jobs: runs-on: ubuntu-latest container: image: wownero-builder-base:latest + # CRITICAL FIX: Force the container to run as ROOT (UID 0) + # This bypasses all "Permission Denied" and "sudo not found" errors. + options: --user root env: NODE_TLS_REJECT_UNAUTHORIZED: '0' strategy: @@ -61,19 +64,16 @@ jobs: curl -L -k -o sdk.tar.gz \ "https://git.such.software/Builds/wownero/releases/download/${{ env.CORE_VERSION }}/wownero-sdk-${{ matrix.platform }}.tar.gz" - # Extract normally + # Extract normally (We are root now, so this will work) tar -xf sdk.tar.gz -C wownero-sdk - # CRITICAL FIX: Sudo Privilege Escalation - # We force the runner to take ownership of these files no matter what - echo "Fixing permissions with SUDO..." - sudo chown -R $(id -u):$(id -g) wownero-sdk - sudo chmod -R 777 wownero-sdk + # Sanity Check: Ensure global read/write just in case + chmod -R 777 wownero-sdk - # VERIFICATION: If this cat fails, we know exactly why + # VERIFICATION: This should now succeed without issues echo "Verifying readability of version.hpp..." ls -l wownero-sdk/include/boost/version.hpp - cat wownero-sdk/include/boost/version.hpp | head -n 5 + head -n 5 wownero-sdk/include/boost/version.hpp - name: Build LWS run: | @@ -95,8 +95,7 @@ jobs: PLATFORM_FLAGS="" fi - # Removed manual Boost version flags (CMake ignored them anyway) - # Relying on readable file + BOOST_ROOT + # CMake Configuration cmake .. \ $PLATFORM_FLAGS \ -DCMAKE_BUILD_TYPE=Release \