try install zlib from source

This commit is contained in:
2024-07-17 16:26:37 -06:00
parent 005a4198d2
commit ef08399eca

View File

@@ -50,6 +50,12 @@ jobs:
uses: actions/checkout@v4
with:
submodules: true
- name: Build zlib for linux
run: cmake -S . -B build -D CMAKE_EXE_LINKER_FLAGS=-static -D CMAKE_SHARED_LINKER_FLAGS=-static && cmake install .
if: ${{ matrix.os == 'ubuntu' }}
- name: Build zlib for windows
run: cmake -S . -B build -D CMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded && cmake install .
if: ${{ matrix.os == 'windows' }}
- name: Cache Boost
uses: actions/cache@v4
with: