File tree 2 files changed +13
-6
lines changed 2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 20
20
- template : ci/azure-pipelines-steps.yml
21
21
parameters :
22
22
platform : ubuntu
23
+ installer : apt
23
24
24
25
- job : ' Windows_Test'
25
26
pool :
@@ -30,15 +31,15 @@ jobs:
30
31
python.version : ' 3.6'
31
32
Python37 :
32
33
python.version : ' 3.7'
33
- # Disabled until a required extension is installed
34
- # PythonPreview:
35
- # python.version: 'Pre'
34
+ PythonPreview :
35
+ python.version : ' Pre'
36
36
maxParallel : 4
37
37
38
38
steps :
39
39
- template : ci/azure-pipelines-steps.yml
40
40
parameters :
41
41
platform : windows
42
+ installer : nuget
42
43
43
44
- job : ' macOS_Test'
44
45
pool :
55
56
- template : ci/azure-pipelines-steps.yml
56
57
parameters :
57
58
platform : macos
59
+ installer : brew
Original file line number Diff line number Diff line change 1
1
parameters :
2
2
platform : none
3
+ installer : none
3
4
4
5
steps :
5
6
- task : UsePythonVersion@0
@@ -15,19 +16,23 @@ steps:
15
16
prerelease : true
16
17
condition : and(succeeded(), eq(variables['python.version'], 'Pre'))
17
18
18
- - ${{ if eq(parameters.platform, 'windows') }} :
19
+ - ${{ if eq(parameters.installer, 'nuget') }} :
20
+ - task : NuGetToolInstaller@0
21
+ displayName : ' Use latest available Nuget'
22
+
19
23
- script : |
20
24
nuget install libpng-msvc14-x64 -ExcludeVersion -OutputDirectory "$(build.BinariesDirectory)"
21
25
echo ##vso[task.setvariable variable=MPLBASEDIRLIST]win32_static;$(build.BinariesDirectory)\libpng-msvc14-x64\build\native
22
26
echo ##vso[task.setvariable variable=LIBDIR]%LIBDIR%;$(build.BinariesDirectory)\libpng-msvc14-x64\build\native\lib_release
23
27
echo ##vso[task.prependpath]$(build.BinariesDirectory)\libpng-msvc14-x64\build\native\bin_release
28
+ displayName: 'Install dependencies with nuget'
24
29
25
- - ${{ if eq(parameters.platform , 'macos ') }} :
30
+ - ${{ if eq(parameters.installer , 'brew ') }} :
26
31
- script : |
27
32
brew install pkg-config ffmpeg imagemagick mplayer ccache
28
33
displayName: 'Install dependencies with brew'
29
34
30
- - ${{ if eq(parameters.platform , 'ubuntu ') }} :
35
+ - ${{ if eq(parameters.installer , 'apt ') }} :
31
36
- script : |
32
37
sudo apt-add-repository ppa:jonathonf/ffmpeg-3
33
38
sudo apt-get update
You can’t perform that action at this time.
0 commit comments