try with msbuild

This commit is contained in:
2024-07-17 16:58:58 -06:00
parent 49c823f6e6
commit e77fa3c278

View File

@@ -53,15 +53,21 @@ jobs:
- name: CMake zlib for linux
run: cmake -S . -B build -D CMAKE_EXE_LINKER_FLAGS=-static -D CMAKE_SHARED_LINKER_FLAGS=-static
working-directory: deps/zlib
if: ${{ matrix.os == 'ubuntu' || matrix.os == 'windows' }}
#- name: CMake zlib for windows
# run: cmake -S . -B build -D CMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded
# working-directory: deps/zlib
# if: ${{ matrix.os == 'windows' }}
- name: Build zlib
if: ${{ matrix.os == 'ubuntu' }}
- name: CMake zlib for windows
run: cmake -S . -B build -D CMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded
working-directory: deps/zlib
if: ${{ matrix.os == 'windows' }}
- name: Build zlib for linux
run: ls && make && make install && ls
working-directory: deps/zlib/build
if: ${{ matrix.os == 'windows' || matrix.os == 'ubuntu' }}
if: ${{ matrix.os == 'ubuntu' }}
- name: Build zlib for windows
run: call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x86_amd64 && msbuild zlib.sln && dir
working-directory: deps/zlib/build
if: ${{ matrix.os == 'windows' }}
- name: Cache Boost
uses: actions/cache@v4
with: