forked from such-gitea/wownero-lws
Update .gitea/workflows/build.yaml
Some checks failed
Build Wownero LWS (Final) / linux-native (push) Failing after 2m26s
Build Wownero LWS (Final) / linux-cross (aarch64, /usr/aarch64-linux-gnu, aarch64-linux-gnu) (push) Failing after 50s
Build Wownero LWS (Final) / linux-cross (riscv64, /usr/riscv64-linux-gnu, riscv64-linux-gnu) (push) Failing after 49s
Build Wownero LWS (Final) / windows (push) Failing after 1m47s
Build Wownero LWS (Final) / macos (arm64, macos-arm64, aarch64-apple-darwin11) (push) Has been cancelled
Build Wownero LWS (Final) / macos (x86_64, macos-x64, x86_64-apple-darwin11) (push) Has been cancelled
Some checks failed
Build Wownero LWS (Final) / linux-native (push) Failing after 2m26s
Build Wownero LWS (Final) / linux-cross (aarch64, /usr/aarch64-linux-gnu, aarch64-linux-gnu) (push) Failing after 50s
Build Wownero LWS (Final) / linux-cross (riscv64, /usr/riscv64-linux-gnu, riscv64-linux-gnu) (push) Failing after 49s
Build Wownero LWS (Final) / windows (push) Failing after 1m47s
Build Wownero LWS (Final) / macos (arm64, macos-arm64, aarch64-apple-darwin11) (push) Has been cancelled
Build Wownero LWS (Final) / macos (x86_64, macos-x64, x86_64-apple-darwin11) (push) Has been cancelled
This commit is contained in:
@@ -7,7 +7,7 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
NODE_TLS_REJECT_UNAUTHORIZED: '0'
|
NODE_TLS_REJECT_UNAUTHORIZED: '0'
|
||||||
CORE_TAG: 'v0.11.4.2'
|
CORE_TAG: 'v0.11.4.1' # <--- Updated to your successful build
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# ==================================================================
|
# ==================================================================
|
||||||
@@ -248,6 +248,7 @@ jobs:
|
|||||||
rm -rf *
|
rm -rf *
|
||||||
git config --global --add safe.directory '*'
|
git config --global --add safe.directory '*'
|
||||||
git config --global url."http://oauth2:${GITHUB_TOKEN}@git.such.software:3000/Builds/RandomWOW.git".insteadOf "https://codeberg.org/wownero/RandomWOW"
|
git config --global url."http://oauth2:${GITHUB_TOKEN}@git.such.software:3000/Builds/RandomWOW.git".insteadOf "https://codeberg.org/wownero/RandomWOW"
|
||||||
|
git config --global url."http://oauth2:${GITHUB_TOKEN}@git.such.software:3000/Builds/wownero.git".insteadOf "https://codeberg.org/wownero/wownero.git"
|
||||||
git clone http://oauth2:$GITHUB_TOKEN@git.such.software:3000/${{ github.repository }}.git .
|
git clone http://oauth2:$GITHUB_TOKEN@git.such.software:3000/${{ github.repository }}.git .
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
|
|
||||||
@@ -389,13 +390,10 @@ jobs:
|
|||||||
git clone http://oauth2:$GITHUB_TOKEN@git.such.software:3000/${{ github.repository }}.git .
|
git clone http://oauth2:$GITHUB_TOKEN@git.such.software:3000/${{ github.repository }}.git .
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
|
|
||||||
find . -name "CMakeLists.txt" -print0 | xargs -0 perl -pi -e 's/\brt\b//g'
|
|
||||||
|
|
||||||
- name: Patch Source
|
- name: Patch Source
|
||||||
run: |
|
run: |
|
||||||
perl -pi -e 's/handler_loop\s+final/handler_loop/g' src/rest_server.cpp
|
perl -pi -e 's/handler_loop\s+final/handler_loop/g' src/rest_server.cpp
|
||||||
perl -pi -e 's/find_library\(ICU/# find_library(ICU/g' external/monero/CMakeLists.txt
|
perl -pi -e 's/find_library\(ICU/# find_library(ICU/g' external/monero/CMakeLists.txt
|
||||||
# Nuke locale requirement for Mac, since we removed it from Core builds
|
|
||||||
perl -pi -e 's/locale//g' external/monero/CMakeLists.txt
|
perl -pi -e 's/locale//g' external/monero/CMakeLists.txt
|
||||||
|
|
||||||
- name: Install CMake
|
- name: Install CMake
|
||||||
@@ -413,7 +411,7 @@ jobs:
|
|||||||
mkdir build && cd build
|
mkdir build && cd build
|
||||||
SDK_DIR="$(pwd)/../wownero-sdk"
|
SDK_DIR="$(pwd)/../wownero-sdk"
|
||||||
|
|
||||||
# CRITICAL: We set Boost_USE_STATIC_RUNTIME=OFF because our Mac artifacts use shared runtime
|
# Explicitly set ZSTD and ZLIB to ensure we don't accidentally link system dylibs
|
||||||
cmake .. -DCMAKE_BUILD_TYPE=Release \
|
cmake .. -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_STATIC=ON \
|
-DBUILD_STATIC=ON \
|
||||||
-DBoost_USE_STATIC_RUNTIME=OFF \
|
-DBoost_USE_STATIC_RUNTIME=OFF \
|
||||||
@@ -432,6 +430,10 @@ jobs:
|
|||||||
-DLIBUSB_LIBRARY="$SDK_DIR/lib/libusb-1.0.a" \
|
-DLIBUSB_LIBRARY="$SDK_DIR/lib/libusb-1.0.a" \
|
||||||
-DHIDAPI_INCLUDE_DIR="$SDK_DIR/include" \
|
-DHIDAPI_INCLUDE_DIR="$SDK_DIR/include" \
|
||||||
-DHIDAPI_LIBRARY="$SDK_DIR/lib/libhidapi.a" \
|
-DHIDAPI_LIBRARY="$SDK_DIR/lib/libhidapi.a" \
|
||||||
|
-DZSTD_LIBRARY="$SDK_DIR/lib/libzstd.a" \
|
||||||
|
-DZSTD_INCLUDE_DIR="$SDK_DIR/include" \
|
||||||
|
-DZLIB_LIBRARY="$SDK_DIR/lib/libz.a" \
|
||||||
|
-DZLIB_INCLUDE_DIR="$SDK_DIR/include" \
|
||||||
-DUSE_READLINE=OFF
|
-DUSE_READLINE=OFF
|
||||||
|
|
||||||
make -j$(sysctl -n hw.ncpu)
|
make -j$(sysctl -n hw.ncpu)
|
||||||
|
|||||||
Reference in New Issue
Block a user