Skip to content

Commit

Permalink
Try to install zlib
Browse files Browse the repository at this point in the history
  • Loading branch information
asl committed Dec 24, 2023
1 parent 2dd32a6 commit 4ae2164
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4ae2164

Please sign in to comment.