diff --git a/.github/workflows/snapshots.yml b/.github/workflows/snapshots.yml index f4795e8d..967f4a45 100644 --- a/.github/workflows/snapshots.yml +++ b/.github/workflows/snapshots.yml @@ -109,7 +109,7 @@ jobs: path: ${{github.workspace}}/build/BandageNG*.dmg build-windows: - runs-on: windows-2019 # 2022 seems not to install zlib by default anymore + runs-on: windows-latest name: '🧊 Windows' steps: - id: commit @@ -133,8 +133,11 @@ jobs: cache-key-prefix: ${{ runner.os }}-QtCache version: ${{env.QT_VERSION}} + - name: '⚙️ Install Zlib' + run: C:\msys64\usr\bin\pacman -S zlib-devel --noconfirm + - name: '⚙️ Configure CMake' - run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_INSTALL_PREFIX=/usr + run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_LIBRARY_PATH=C:\msys64\usr\lib - name: '🚧 Build' run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j8 diff --git a/CMakeLists.txt b/CMakeLists.txt index 24a31bb9..3dc78549 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,6 +12,7 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON) find_package(Qt6 REQUIRED COMPONENTS Widgets Svg Test Concurrent) find_package(ZLIB REQUIRED) +message(STATUS "Found ZLIB ${ZLIB_LIBRARIES}") set(LIB_SOURCES graphsearch/hit.cpp