-
Notifications
You must be signed in to change notification settings - Fork 27
/
azure-pipelines.yml
40 lines (39 loc) · 975 Bytes
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
jobs:
- job: Build_VS2015
pool:
vmImage: 'vs2015-win2012r2'
strategy:
matrix:
v140:
XP: 0
v140_xp:
XP: 1
steps:
- script: |
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"
python build.py
env:
XP: $(XP)
- script: nuget push *.nupkg %NUGET_API_KEY% -Source https://nuget.org/
- job: Build_VS2017
pool:
vmImage: 'vs2017-win2016'
strategy:
matrix:
v141:
XP: 0
v141_xp:
XP: 1
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '2.x'
addToPath: true
- script: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\Tools\VsDevCmd.bat"
where /R "%ProgramFiles(x86)%" dbghelp.dll
where /R "%ProgramW6432%" dbghelp.dll
python build.py
env:
XP: $(XP)
- script: nuget push *.nupkg %NUGET_API_KEY% -Source https://nuget.org/