From 6f9c3e48c00a23636363cfdacc355f28a39d5737 Mon Sep 17 00:00:00 2001 From: such-gitea Date: Wed, 21 Jan 2026 12:21:48 -0500 Subject: [PATCH] Update .gitea/workflows/build.yaml --- .gitea/workflows/build.yaml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 23c8732..12bd2f8 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -17,8 +17,9 @@ jobs: runs-on: ubuntu-latest container: image: wownero-builder-base:latest - # We don't even need 'options: --user root' anymore because - # the Dockerfile has 'USER root' baked in! + # CRITICAL FIX: Force Root execution in YAML. + # The Runner ignores the Dockerfile USER instruction, so we must force it here. + options: --user root env: NODE_TLS_REJECT_UNAUTHORIZED: '0' strategy: @@ -61,11 +62,12 @@ 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" - # Clean extract. Root owns it, and we ARE Root. + # Extract with root permissions (since we are root) tar -xf sdk.tar.gz -C wownero-sdk - # Just a sanity check list - ls -l wownero-sdk/include/boost/version.hpp + # The "Nuclear" Permissions Fix + # Since we are root, this command CANNOT fail. + chmod -R 777 wownero-sdk - name: Build LWS run: | @@ -87,7 +89,7 @@ jobs: PLATFORM_FLAGS="" fi - # We still use the manual Boost version to bypass any CMake detection weirdness + # Using the Boost Bypass vars just to be safe cmake .. \ $PLATFORM_FLAGS \ -DCMAKE_BUILD_TYPE=Release \ @@ -144,7 +146,7 @@ jobs: path: release/wownero-lws-${{ matrix.platform }}.${{ matrix.archive }} # ------------------------------------------------------------------ - # 2. MACOS (Proven Working) + # 2. MACOS (Already Working) # ------------------------------------------------------------------ build-macos: runs-on: macos-latest