Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 245868d

Browse files
committed
CI: and tell the compiler to use the installed zlib
1 parent 388a117 commit 245868d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ci/azure-pipelines-steps.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,13 @@ steps:
2222

2323
- script: |
2424
nuget install libpng-msvc14-x64 -ExcludeVersion -OutputDirectory "$(build.BinariesDirectory)"
25-
nuget install zlib-msvc14-x64 -ExcludeVersion -OutputDirectory "$(build.BinariesDirectory)"
2625
echo ##vso[task.setvariable variable=CL]/I$(build.BinariesDirectory)\libpng-msvc14-x64\build\native\include
2726
echo ##vso[task.setvariable variable=LINK]/LIBPATH:$(build.BinariesDirectory)\libpng-msvc14-x64\build\native\lib_release
2827
echo ##vso[task.prependpath]$(build.BinariesDirectory)\libpng-msvc14-x64\build\native\bin_release
28+
nuget install zlib-msvc14-x64 -ExcludeVersion -OutputDirectory "$(build.BinariesDirectory)"
29+
echo ##vso[task.setvariable variable=CL]/I$(build.BinariesDirectory)\zlib-msvc14-x64\build\native\include
30+
echo ##vso[task.setvariable variable=LINK]/LIBPATH:$(build.BinariesDirectory)\zlib-msvc14-x64\build\native\lib_release
31+
echo ##vso[task.prependpath]$(build.BinariesDirectory)\zlib-msvc14-x64\build\native\bin_release
2932
displayName: 'Install dependencies with nuget'
3033
3134
- ${{ if eq(parameters.installer, 'brew') }}:

0 commit comments

Comments
 (0)