File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,12 @@ steps:
52
52
prerelease : true
53
53
condition : and(succeeded(), eq(variables['python.version'], 'Pre'))
54
54
55
+ - task : NuGetToolInstaller@0
56
+ displayName : ' Use latest available Nuget'
57
+ condition : and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'))
58
+
55
59
- bash : |
60
+ set -e
56
61
case "$(python -c 'import sys; print(sys.platform)')" in
57
62
linux)
58
63
sudo apt-get update
@@ -83,10 +88,10 @@ steps:
83
88
win32)
84
89
nuget install libpng-msvc14-x64 -ExcludeVersion -OutputDirectory "$(build.BinariesDirectory)"
85
90
nuget install zlib-msvc14-x64 -ExcludeVersion -OutputDirectory "$(build.BinariesDirectory)"
86
- echo ##vso[task.prependpath]$(build.BinariesDirectory)\libpng-msvc14-x64\build\native\bin_release
87
- echo ##vso[task.prependpath]$(build.BinariesDirectory)\zlib-msvc14-x64\build\native\bin_release
88
- echo ##vso[task.setvariable variable=CL]/I$(build.BinariesDirectory)\libpng-msvc14-x64\build\native\include /I$(build.BinariesDirectory)\zlib-msvc14-x64\build\native\include
89
- echo ##vso[task.setvariable variable=LINK]/LIBPATH:$(build.BinariesDirectory)\libpng-msvc14-x64\build\native\lib_release /LIBPATH:$(build.BinariesDirectory)\zlib-msvc14-x64\build\native\lib_release
91
+ echo " ##vso[task.prependpath]$(build.BinariesDirectory)\libpng-msvc14-x64\build\native\bin_release"
92
+ echo " ##vso[task.prependpath]$(build.BinariesDirectory)\zlib-msvc14-x64\build\native\bin_release"
93
+ echo " ##vso[task.setvariable variable=CL]/I$(build.BinariesDirectory)\libpng-msvc14-x64\build\native\include /I$(build.BinariesDirectory)\zlib-msvc14-x64\build\native\include"
94
+ echo " ##vso[task.setvariable variable=LINK]/LIBPATH:$(build.BinariesDirectory)\libpng-msvc14-x64\build\native\lib_release /LIBPATH:$(build.BinariesDirectory)\zlib-msvc14-x64\build\native\lib_release"
90
95
;;
91
96
*)
92
97
exit 1
You can’t perform that action at this time.
0 commit comments