forked from such-gitea/wownero-lws
Update .gitea/workflows/build.yaml
Some checks failed
Build Wownero LWS / build-cross (tar.gz, , , linux-x64, x86_64-linux-gnu) (push) Failing after 6m58s
Build Wownero LWS / build-macos (push) Failing after 7m27s
Build Wownero LWS / build-cross (tar.gz, -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_SYSTEM_PROCESSOR=aarch64 -DCMAKE_C_COMPILER=aarch64-linux-gnu-gcc -DCMAKE_CXX_COMPILER=aarch64-linux-gnu-g++, , linux-arm64, aarch64-linux-gnu) (push) Failing after 3m16s
Build Wownero LWS / build-cross (zip, -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_C_COMPILER=x86_64-w64-mingw32-gcc -DCMAKE_CXX_COMPILER=x86_64-w64-mingw32-g++ -DCMAKE_RC_COMPILER=x86_64-w64-mingw32-windres, .exe, windows-x64, x86_64-w64-mingw32) (push) Failing after 0s
Build Wownero LWS / release (push) Has been skipped
Some checks failed
Build Wownero LWS / build-cross (tar.gz, , , linux-x64, x86_64-linux-gnu) (push) Failing after 6m58s
Build Wownero LWS / build-macos (push) Failing after 7m27s
Build Wownero LWS / build-cross (tar.gz, -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_SYSTEM_PROCESSOR=aarch64 -DCMAKE_C_COMPILER=aarch64-linux-gnu-gcc -DCMAKE_CXX_COMPILER=aarch64-linux-gnu-g++, , linux-arm64, aarch64-linux-gnu) (push) Failing after 3m16s
Build Wownero LWS / build-cross (zip, -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_C_COMPILER=x86_64-w64-mingw32-gcc -DCMAKE_CXX_COMPILER=x86_64-w64-mingw32-g++ -DCMAKE_RC_COMPILER=x86_64-w64-mingw32-windres, .exe, windows-x64, x86_64-w64-mingw32) (push) Failing after 0s
Build Wownero LWS / release (push) Has been skipped
This commit is contained in:
@@ -43,7 +43,6 @@ jobs:
|
||||
platform: windows-x64
|
||||
ext: ".exe"
|
||||
archive: "zip"
|
||||
# We explicitly tell CMake to use the MinGW compilers
|
||||
cmake_args: "-DCMAKE_SYSTEM_NAME=Windows -DCMAKE_C_COMPILER=x86_64-w64-mingw32-gcc -DCMAKE_CXX_COMPILER=x86_64-w64-mingw32-g++ -DCMAKE_RC_COMPILER=x86_64-w64-mingw32-windres"
|
||||
|
||||
steps:
|
||||
@@ -68,17 +67,23 @@ 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"
|
||||
|
||||
# Extract (contains include/, lib/, bin/)
|
||||
# Extract
|
||||
tar -xf sdk.tar.gz -C wownero-sdk
|
||||
|
||||
- name: Build LWS
|
||||
# CRITICAL FIX: Set PKG_CONFIG_PATH so it finds .pc files in the SDK
|
||||
env:
|
||||
PKG_CONFIG_PATH: /workspace/wownero-lws/wownero-sdk/lib/pkgconfig
|
||||
run: |
|
||||
mkdir build && cd build
|
||||
|
||||
# We use the Manual Flags defined in the matrix (cmake_args)
|
||||
# We force CMake to look in wownero-sdk for OpenSSL, ZMQ, Sodium, etc.
|
||||
cmake .. \
|
||||
${{ matrix.cmake_args }} \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_PREFIX_PATH=/workspace/wownero-lws/wownero-sdk \
|
||||
-DOPENSSL_ROOT_DIR=/workspace/wownero-lws/wownero-sdk \
|
||||
-DOPENSSL_USE_STATIC_LIBS=TRUE \
|
||||
-DMONERO_SOURCE_DIR=/workspace/wownero-lws/wownero-sdk/include/wownero-src \
|
||||
-DMONERO_BUILD_DIR=/workspace/wownero-lws/wownero-sdk/lib \
|
||||
-DBOOST_ROOT=/workspace/wownero-lws/wownero-sdk \
|
||||
@@ -129,7 +134,6 @@ jobs:
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
brew update
|
||||
# FIX: Changed 'liblmdb' to 'lmdb'
|
||||
brew install cmake pkg-config boost openssl zeromq libsodium unbound libusb hidapi lmdb
|
||||
|
||||
- name: Download Core SDK (Headers only)
|
||||
|
||||
Reference in New Issue
Block a user