8000 ci: Restore nuget install step on Azure for v3.2.x. · matplotlib/matplotlib@6dc5349 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6dc5349

Browse files
committed
ci: Restore nuget install step on Azure for v3.2.x.
This was removed in a cleanup on `master`, and backported to `v3.2.x`. While the cleanup was good, the `v3.2.x` branch still requires the use of libpng, so that step must be restored.
1 parent e8740ff commit 6dc5349

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

azure-pipelines.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,12 @@ steps:
8181
brew install pkg-config ffmpeg imagemagick mplayer ccache
8282
;;
8383
win32)
84+
nuget install libpng-msvc14-x64 -ExcludeVersion -OutputDirectory "$(build.BinariesDirectory)"
85+
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
8490
;;
8591
*)
8692
exit 1

0 commit comments

Comments
 (0)
0