diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 460920a3..5fee1b03 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: