forked from such-gitea/wownero-lws
Update .gitea/workflows/build.yaml
Some checks failed
Build Wownero LWS (Mac Final Fix) / macos (arm64, armv8-a, macos-arm64, aarch64-apple-darwin11) (push) Failing after 2m3s
Build Wownero LWS (Mac Final Fix) / linux-native (push) Successful in 2m28s
Build Wownero LWS (Mac Final Fix) / macos (x86_64, x86-64, macos-x64, x86_64-apple-darwin11) (push) Failing after 1m51s
Build Wownero LWS (Mac Final Fix) / linux-cross (riscv64, /usr/riscv64-linux-gnu, riscv64-linux-gnu) (push) Has been cancelled
Build Wownero LWS (Mac Final Fix) / linux-cross (aarch64, /usr/aarch64-linux-gnu, aarch64-linux-gnu) (push) Has been cancelled
Some checks failed
Build Wownero LWS (Mac Final Fix) / macos (arm64, armv8-a, macos-arm64, aarch64-apple-darwin11) (push) Failing after 2m3s
Build Wownero LWS (Mac Final Fix) / linux-native (push) Successful in 2m28s
Build Wownero LWS (Mac Final Fix) / macos (x86_64, x86-64, macos-x64, x86_64-apple-darwin11) (push) Failing after 1m51s
Build Wownero LWS (Mac Final Fix) / linux-cross (riscv64, /usr/riscv64-linux-gnu, riscv64-linux-gnu) (push) Has been cancelled
Build Wownero LWS (Mac Final Fix) / linux-cross (aarch64, /usr/aarch64-linux-gnu, aarch64-linux-gnu) (push) Has been cancelled
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
name: Build Wownero LWS (Mac Deep Fix)
|
||||
name: Build Wownero LWS (Mac Final Fix)
|
||||
on:
|
||||
push:
|
||||
branches: [ master, main ]
|
||||
@@ -169,7 +169,7 @@ jobs:
|
||||
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
|
||||
if [ ! -s jump_arm64_aapcs_elf_gas.S ]; then echo "FATAL: Empty file"; exit 1; fi
|
||||
if [ ! -s jump_arm64_aapcs_elf_gas.S ]; then echo "FATAL: Empty file downloaded"; exit 1; fi
|
||||
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
|
||||
@@ -246,7 +246,7 @@ jobs:
|
||||
# ...
|
||||
|
||||
# ==================================================================
|
||||
# JOB 4: MACOS - RT REMOVAL + ARCH FIX
|
||||
# JOB 4: MACOS - RT & JIT FIX
|
||||
# ==================================================================
|
||||
macos:
|
||||
runs-on: macos-latest
|
||||
@@ -285,7 +285,6 @@ jobs:
|
||||
perl -pi -e 's/locale//g' external/monero/CMakeLists.txt
|
||||
|
||||
# FIX 1: Physically delete any reference to 'rt' in the CMake file
|
||||
# macOS doesn't have it, and even checking for it can confuse things.
|
||||
perl -pi -e 's/rt //g' CMakeLists.txt
|
||||
perl -pi -e 's/RT_LIBRARY//g' CMakeLists.txt
|
||||
|
||||
@@ -305,7 +304,7 @@ jobs:
|
||||
SDK_DIR="$(pwd)/../wownero-sdk"
|
||||
|
||||
# FIX 2: Added -DARCH=${{ matrix.build_arch }} to force correct JIT target
|
||||
# FIX 3: Added -DRT_LIBRARY="" just in case
|
||||
# FIX 3: Added -DRT_LIBRARY="" just in case the sed replacement missed something
|
||||
cmake .. -DCMAKE_BUILD_TYPE=Release \
|
||||
-DBUILD_STATIC=ON \
|
||||
-DBoost_USE_STATIC_RUNTIME=OFF \
|
||||
|
||||
Reference in New Issue
Block a user