Skip to content

Commit

Permalink
update zlib to 1.3 for windows CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sithlord48 committed Oct 7, 2023
1 parent 9008502 commit 95e2818
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
uses: actions/[email protected]
with:
path: C:/zlib
key: ${{ runner.os }}${{ matrix.config.WIN_ARCH }}-zlib-1.2.13
key: ${{ runner.os }}${{ matrix.config.WIN_ARCH }}-zlib-1.3

- name: Cache Chocolatey
id: cache-choco
Expand Down Expand Up @@ -141,7 +141,7 @@ jobs:
- name: Build Zlib For Windows
if: (runner.os == 'Windows') && (steps.cache-zlib.outputs.cache-hit != 'true')
run: |
git clone -q --branch=v1.2.13 https://github.com/madler/zlib ${{github.workspace}}\zlib-git
git clone -q --branch=v1.3 https://github.com/madler/zlib ${{github.workspace}}\zlib-git
cmake -S${{github.workspace}}\zlib-git -B${{github.workspace}}\zlib-git\build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=C:/zlib
cmake --build ${{github.workspace}}\zlib-git\build --config Release
cmake --install ${{github.workspace}}\zlib-git\build --strip
Expand Down

0 comments on commit 95e2818

Please sign in to comment.