Skip to content

Commit d8fbfe5

Browse files
authored
Merge pull request #20 from windows-toolkit/azure-pipelines
Set up CI with Azure Pipelines
2 parents 0e695f9 + b2f7335 commit d8fbfe5

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

azure-pipelines.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
trigger:
2+
- master
3+
4+
pr:
5+
- master
6+
7+
pool:
8+
vmImage: 'windows-latest'
9+
10+
variables:
11+
solution: '**/*.sln'
12+
buildPlatform: 'x86|x64|ARM|ARM64'
13+
buildConfiguration: 'Release'
14+
appxPackageDir: '$(build.artifactStagingDirectory)\AppxPackages\\'
15+
16+
steps:
17+
- task: NuGetToolInstaller@1
18+
19+
- task: NuGetCommand@2
20+
inputs:
21+
restoreSolution: '$(solution)'
22+
23+
- task: VSBuild@1
24+
inputs:
25+
platform: 'x86'
26+
solution: '$(solution)'
27+
configuration: '$(buildConfiguration)'
28+
msbuildArgs: '/p:AppxBundlePlatforms="$(buildPlatform)" /p:AppxPackageDir="$(appxPackageDir)" /p:AppxBundle=Always /p:UapAppxPackageBuildMode=StoreUpload'

0 commit comments

Comments
 (0)