Inject newer CMake
Some checks failed
Build Wownero Core (Clean / Boost 1.90 / CMake 3.28) / build-all (aarch64-apple-darwin11) (push) Successful in 12m47s
Build Wownero Core (Clean / Boost 1.90 / CMake 3.28) / build-all (aarch64-linux-gnu) (push) Successful in 8m48s
Build Wownero Core (Clean / Boost 1.90 / CMake 3.28) / build-all (riscv64-linux-gnu) (push) Successful in 11m17s
Build Wownero Core (Clean / Boost 1.90 / CMake 3.28) / build-all (x86_64-apple-darwin11) (push) Successful in 12m6s
Build Wownero Core (Clean / Boost 1.90 / CMake 3.28) / build-all (x86_64-linux-gnu) (push) Failing after 33s
Build Wownero Core (Clean / Boost 1.90 / CMake 3.28) / build-all (x86_64-w64-mingw32) (push) Failing after 47s
Build Wownero Core (Clean / Boost 1.90 / CMake 3.28) / release (push) Has been skipped

This commit is contained in:
2026-01-24 09:45:17 -05:00
parent c91af646d6
commit 115cc7199b

View File

@@ -1,4 +1,4 @@
name: Build Wownero Core (Clean / Boost 1.90)
name: Build Wownero Core (Clean / Boost 1.90 / CMake 3.28)
on:
push:
branches: [ master, main ]
@@ -44,20 +44,31 @@ jobs:
curl -L -k -o contrib/depends/SDKs/MacOSX10.15.sdk.tar.gz \
"https://github.com/phracker/MacOSX-SDKs/releases/download/10.15/MacOSX10.15.sdk.tar.gz"
# --- NEW STEP: INSTALL MODERN CMAKE ---
- name: Install Modern CMake
run: |
echo "Installing CMake 3.28.1..."
curl -L -o cmake.tar.gz https://github.com/Kitware/CMake/releases/download/v3.28.1/cmake-3.28.1-linux-x86_64.tar.gz
tar -xf cmake.tar.gz
# Add new cmake to PATH
echo "$(pwd)/cmake-3.28.1-linux-x86_64/bin" >> $GITHUB_PATH
- name: Build Dependencies
run: |
cd contrib/depends
# This builds Boost 1.90.0 using the file you just updated
make HOST=${{ matrix.target }} -j$(nproc)
- name: Build Wownero Core
run: |
PREFIX=$(pwd)/contrib/depends/${{ matrix.target }}
mkdir build && cd build
# Use the new 'cmake' (v3.28) which is now in PATH
cmake .. \
-DCMAKE_TOOLCHAIN_FILE=../contrib/depends/${{ matrix.target }}/share/toolchain.cmake \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_STATIC=ON
make -j$(nproc)
- name: Package Artifacts