forked from such-gitea/wownero-lws
Update .gitea/workflows/build.yaml
Some checks failed
Build Wownero LWS / build-cross (tar.gz, , linux-arm64, aarch64-linux-gnu) (push) Failing after 46s
Build Wownero LWS / build-cross (tar.gz, , linux-x64, x86_64-linux-gnu) (push) Failing after 46s
Build Wownero LWS / build-macos (push) Successful in 1m58s
Build Wownero LWS / build-cross (zip, .exe, windows-x64, x86_64-w64-mingw32) (push) Failing after 48s
Build Wownero LWS / release (push) Has been skipped
Some checks failed
Build Wownero LWS / build-cross (tar.gz, , linux-arm64, aarch64-linux-gnu) (push) Failing after 46s
Build Wownero LWS / build-cross (tar.gz, , linux-x64, x86_64-linux-gnu) (push) Failing after 46s
Build Wownero LWS / build-macos (push) Successful in 1m58s
Build Wownero LWS / build-cross (zip, .exe, windows-x64, x86_64-w64-mingw32) (push) Failing after 48s
Build Wownero LWS / release (push) Has been skipped
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user