From 7432ec4208567e247828edf48e69f98317dd1403 Mon Sep 17 00:00:00 2001 From: such-gitea Date: Tue, 10 Feb 2026 20:35:33 -0500 Subject: [PATCH] Update .gitea/workflows/build.yaml --- .gitea/workflows/build.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index b66419f..99c8cb8 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -1,4 +1,4 @@ -name: Build Wownero LWS (Aarch64 Patch) +name: Build Wownero LWS (Windows Fix) on: push: branches: [ master, main ] @@ -11,7 +11,7 @@ env: jobs: # ================================================================== - # JOB 1: LINUX NATIVE (x86_64) - KEEPING AS IS (GREEN) + # JOB 1: LINUX NATIVE (x86_64) - UNTOUCHED (GREEN) # ================================================================== linux-native: runs-on: ubuntu-latest @@ -104,7 +104,7 @@ jobs: path: release/*.tar.gz # ================================================================== - # JOB 2: LINUX CROSS (ARM64 / RISCV64) - CORRECTED FILENAMES + # JOB 2: LINUX CROSS (ARM64 / RISCV64) - UNTOUCHED (GREEN) # ================================================================== linux-cross: runs-on: ubuntu-latest @@ -164,29 +164,25 @@ jobs: if [ -n "$FALLBACK" ]; then ln -s "$FALLBACK" librt.a; fi fi - # FIX: Use correct filenames (arm64 instead of aarch64) + # FIX: Use 'develop' branch URL - name: Patch Boost Context (Aarch64) if: matrix.target == 'aarch64-linux-gnu' run: | echo "Downloading and compiling missing Boost Context ASM for aarch64..." mkdir -p boost_asm && cd boost_asm - # Use 'arm64' in filename, not 'aarch64' - BASE="https://raw.githubusercontent.com/boostorg/context/master/src/asm" + BASE="https://raw.githubusercontent.com/boostorg/context/develop/src/asm" curl -f -O $BASE/jump_arm64_aapcs_elf_gas.S curl -f -O $BASE/make_arm64_aapcs_elf_gas.S curl -f -O $BASE/ontop_arm64_aapcs_elf_gas.S - # Verify download success if [ ! -s jump_arm64_aapcs_elf_gas.S ]; then echo "FATAL: Empty file downloaded"; exit 1; fi - # Compile aarch64-linux-gnu-gcc -c jump_arm64_aapcs_elf_gas.S -o jump.o aarch64-linux-gnu-gcc -c make_arm64_aapcs_elf_gas.S -o make.o aarch64-linux-gnu-gcc -c ontop_arm64_aapcs_elf_gas.S -o ontop.o - # Append to static lib aarch64-linux-gnu-ar r /opt/wownero-sdk/lib/libboost_context.a jump.o make.o ontop.o aarch64-linux-gnu-ar s /opt/wownero-sdk/lib/libboost_context.a echo "Patch applied successfully." @@ -255,7 +251,7 @@ jobs: path: release/*.tar.gz # ================================================================== - # JOB 3: WINDOWS - UNTOUCHED + # JOB 3: WINDOWS - EXCLUDE CLIENT.CPP # ================================================================== windows: runs-on: ubuntu-latest @@ -286,7 +282,11 @@ jobs: perl -pi -e 's/-Werror//g' CMakeLists.txt perl -pi -e 's/-Werror//g' external/monero/CMakeLists.txt sed -i '1i #include \n#ifdef _WIN32\nchar* strptime(const char* s, const char* f, struct tm* tm) { return 0; }\n#endif' external/monero/contrib/epee/include/storages/portable_storage_val_converters.h + + # FIX: DISABLE ZMQ_ASYNC AND CLIENT.CPP ON WINDOWS sed -i '/zmq_async.cpp/d' src/net/CMakeLists.txt + sed -i '/client.cpp/d' src/rpc/CMakeLists.txt + - name: Download SDK run: | curl -L -k -o sdk.tar.gz "https://git.such.software/Builds/wownero/releases/download/${{ env.CORE_TAG }}/wownero-core-x86_64-w64-mingw32.tar.gz"