fix(ci): update zlib url

This commit is contained in:
Gary Wang 2022-04-03 19:18:26 +08:00
parent 6270910e12
commit 4babf20427
No known key found for this signature in database
GPG Key ID: 5D30A4F15EA78760

View File

@ -34,9 +34,9 @@ build_script:
- cd %APPVEYOR_BUILD_FOLDER% - cd %APPVEYOR_BUILD_FOLDER%
# download and install zlib for KArchive # download and install zlib for KArchive
- cd %LIBZ% - cd %LIBZ%
- curl -fsSL -o zlib1211.zip https://zlib.net/zlib1211.zip - curl -fsSL -o zlib1212.zip https://zlib.net/zlib1212.zip
- 7z x zlib1211.zip -y - 7z x zlib1212.zip -y
- cd zlib-1.2.11 - cd zlib-1.2.12
- mkdir build - mkdir build
- cd build - cd build
- cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%CMAKE_INSTALL_PREFIX% - cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%CMAKE_INSTALL_PREFIX%