blob: 90a89d158cdac11c9bdbd12c8240fc9a8ae4bce4 (
plain)
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
|
trigger:
- master
jobs:
- job: Windows_Build
pool:
vmImage: 'windows-2019'
strategy:
matrix:
x86_debug:
buildPlatform: 'x86'
buildConfiguration: 'Debug'
x86_release:
buildPlatform: 'x86'
buildConfiguration: 'Release'
x64_debug:
buildPlatform: 'x64'
buildConfiguration: 'Debug'
x64_release:
buildPlatform: 'x64'
buildConfiguration: 'Release'
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.x'
addToPath: true
- script: python tools\win_build.py -a $(buildPlatform) -c $(buildConfiguration)
- task: CopyFiles@2
inputs:
contents: '**\$(buildConfiguration)\**\?(*.exe|*.dll|*.pdb)'
targetFolder: '$(build.artifactStagingDirectory)'
- task: PublishBuildArtifacts@1
inputs:
pathToPublish: '$(build.artifactStagingDirectory)'
artifactName: 'executables_$(buildPlatform)_$(buildConfiguration)'
|