Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,20 +47,24 @@ jobs:


- name: Install zlib
if: ${{ env.CPLEX_URL != 0 }}
# if: ${{ env.CPLEX_URL != 0 }}
shell: cmd
run: |
call "${{ matrix.platform.vc }}" %ARCH%

cd ..
curl.exe --output zlib.zip %ZLIB_URL%
curl.exe -f --output zlib.zip %ZLIB_URL% || (
echo ERROR: Failed to download zlib from %ZLIB_URL%
echo zlib release could be outdated. Check https://zlib.net/.
exit /b 1
)
unzip zlib.zip
del zlib.zip
mkdir zlib
cd zlib

echo "Set up zlib include directory"
move ../zlib-1.3.1 include
move ../zlib-1.3.2 include

echo "Compile zlib library"
cd include
Expand Down
Loading