fix cert issue and update windows build
Some checks failed
Build Wownero LWS / build-macos (push) Successful in 1m34s
Build Wownero LWS / build-linux (push) Successful in 2m8s
Build Wownero LWS / build-windows (push) Failing after 4m26s

This commit is contained in:
2026-01-05 08:07:16 -08:00
parent 4dc711041b
commit 0afd7bce51

View File

@@ -3,6 +3,11 @@ on:
push:
workflow_dispatch:
# --- GLOBAL FIX FOR SSL UPLOADS ---
env:
NODE_TLS_REJECT_UNAUTHORIZED: '0'
# ----------------------------------
jobs:
build-macos:
runs-on: macos-latest
@@ -46,7 +51,6 @@ jobs:
- name: Package macOS
run: |
# Zip all 3 binaries into one file
cd build/src
zip ../../wownero-lws-macos.zip wownero-lws-daemon wownero-lws-admin wownero-lws-client
@@ -84,7 +88,6 @@ jobs:
- name: Package Linux
run: |
cd build/src
# Create a zip containing all 3 tools
zip ../../wownero-lws-linux.zip wownero-lws-daemon wownero-lws-admin wownero-lws-client
- name: Upload Linux Artifact
@@ -100,7 +103,7 @@ jobs:
files: wownero-lws-linux.zip
build-windows:
runs-on: windows-latest # Maps to 'linux-beast'
runs-on: windows-latest
steps:
- name: Manual Checkout (LAN)
env:
@@ -113,22 +116,24 @@ jobs:
- name: Build Windows Dependencies
run: |
# FIX: The depends folder is inside the submodule!
# 1. Enter the submodule directory where the build system lives
cd external/monero/contrib/depends
# 2. Build the dependencies for Windows
make HOST=x86_64-w64-mingw32 -j$(nproc)
- name: Build Windows (Cross-Compile)
run: |
mkdir build && cd build
# We use the toolchain file generated by the previous step
# This tells CMake exactly where the Windows OpenSSL/Boost libraries are
cmake .. -DCMAKE_TOOLCHAIN_FILE=../contrib/depends/x86_64-w64-mingw32/share/toolchain.cmake -DCMAKE_BUILD_TYPE=Release
# 3. Point CMake to the toolchain file we just built (UPDATED PATH HERE)
cmake .. -DCMAKE_TOOLCHAIN_FILE=../external/monero/contrib/depends/x86_64-w64-mingw32/share/toolchain.cmake -DCMAKE_BUILD_TYPE=Release
make -j$(nproc)
- name: Package Windows
run: |
cd build/src
# Zip the .exe files
zip ../../wownero-lws-windows.zip wownero-lws-daemon.exe wownero-lws-admin.exe wownero-lws-client.exe
- name: Upload Windows Artifact