build: update cmake and get openssl build
Build / build (push) Failing after 1m48s

This commit is contained in:
2026-03-20 22:23:29 -03:00
parent 859203aa74
commit 2b4a8c833a
+12 -11
View File
@@ -19,19 +19,20 @@ jobs:
- name: Install tools - name: Install tools
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -y cmake mingw-w64 libssl-dev dotnet-sdk-8.0 sudo apt-get install -y mingw-w64 zstd dotnet-sdk-8.0
- name: Build OpenSSL for MinGW - name: Install CMake 3.30
run: | run: |
wget -q https://www.openssl.org/source/openssl-3.3.0.tar.gz wget -q https://github.com/Kitware/CMake/releases/download/v3.30.5/cmake-3.30.5-linux-x86_64.tar.gz
tar xzf openssl-3.3.0.tar.gz tar xzf cmake-3.30.5-linux-x86_64.tar.gz
cd openssl-3.3.0 echo "$GITHUB_WORKSPACE/cmake-3.30.5-linux-x86_64/bin" >> $GITHUB_PATH
./Configure mingw64 \
--cross-compile-prefix=x86_64-w64-mingw32- \ - name: Get OpenSSL for MinGW (pre-built from MSYS2)
--prefix=/usr/x86_64-w64-mingw32 \ run: |
no-shared no-tests wget -q "https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-openssl-3.3.2-1-any.pkg.tar.zst"
make -j$(nproc) tar xf mingw-w64-x86_64-openssl-3.3.2-1-any.pkg.tar.zst
sudo make install_sw sudo cp -r mingw64/include/openssl /usr/x86_64-w64-mingw32/include/
sudo cp mingw64/lib/libssl.a mingw64/lib/libcrypto.a /usr/x86_64-w64-mingw32/lib/
- name: Configure CMake - name: Configure CMake
run: | run: |