8000 Attempt to use libpng from nuget for Windows build · matplotlib/matplotlib@8c6f913 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8c6f913

Browse files
zoobaanntzer
authored andcommitted
Attempt to use libpng from nuget for Windows build
1 parent e03fafd commit 8c6f913

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

ci/azure-pipelines-steps.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,18 @@ steps:
99
displayName: 'Use Python $(python.version)'
1010
condition: and(succeeded(), ne(variables['python.version'], 'Pre'))
1111

12-
# Disabled until extension is added
13-
#- task: stevedower.python.InstallPython.InstallPython@1
14-
# displayName: 'Use prerelease Python'
15-
# inputs:
16-
# prerelease: true
17-
# condition: and(succeeded(), eq(variables['python.version'], 'Pre'))
12+
- task: stevedower.python.InstallPython.InstallPython@1
13+
displayName: 'Use prerelease Python'
14+
inputs:
15+
prerelease: true
16+
condition: and(succeeded(), eq(variables['python.version'], 'Pre'))
1817

18+
- ${{ if eq(parameters.platform, 'windows') }}:
19+
- script: |
20+
nuget install libpng-msvc14-x64 -ExcludeVersion -OutputDirectory "$(build.BinariesDirectory)"
21+
echo ##vso[task.setvariable variable=MPLBASEDIRLIST]win32_static;$(build.BinariesDirectory)\libpng-msvc14-x64\build\native
22+
echo ##vso[task.setvariable variable=LIBDIR]%LIBDIR%;$(build.BinariesDirectory)\libpng-msvc14-x64\build\native\lib_release
23+
echo ##vso[task.prependpath]$(build.BinariesDirectory)\libpng-msvc14-x64\build\native\bin_release
1924
2025
- ${{ if eq(parameters.platform, 'macos') }}:
2126
- script: |

0 commit comments

Comments
 (0)
0