-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
54 lines (46 loc) · 1.5 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
jobs:
- job: Build
pool:
vmImage: 'VS2017-Win2016'
strategy:
maxParallel: 3
matrix:
Debug_x86:
buildPlatform: 'x86'
buildConfiguration: 'Debug'
# Release_x64:
# buildPlatform: 'x64'
# buildConfiguration: 'Release'
variables:
solution: '**/*.sln'
appxPackageDir: '$(build.artifactStagingDirectory)\AppxPackages'
steps:
# - task: powershell@2
# inputs:
# targetType: filePath
# filePath: Install-WindowsSdkISO.ps1
# arguments: 17763
# displayName: 'Install RS5 SDK (17763)'
- script: set
displayName: 'Display current environment variables'
- task: NuGetToolInstaller@0
- task: 333b11bd-d341-40d9-afcf-b32d5ce6f23b@2
inputs:
restoreSolution: '$(solution)'
- task: VSBuild@1
inputs:
platform: '$(buildPlatform)'
solution: '$(solution)'
configuration: '$(buildConfiguration)'
msbuildArgs: '/p:AppxBundlePlatforms="$(buildPlatform)" /p:AppxPackageDir="$(appxPackageDir)" /p:AppxBundle=Never /p:UapAppxPackageBuildMode=StoreUpload /binaryLogger:$(Build.SourcesDirectory)/build.binlog'
- task: PublishBuildArtifacts@1
displayName: 'Publish build binlog'
condition: succeededOrFailed()
inputs:
PathtoPublish: $(Build.SourcesDirectory)/build.binlog
artifactName: binlogs
- task: PublishBuildArtifacts@1
displayName: 'Publish artifact: drop'
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)\AppxPackages'
artifactName: 'drop'