2020-08-15 02:22:14 +03:00
|
|
|
# Universal Windows Platform
|
|
|
|
# Build a Universal Windows Platform project using Visual Studio.
|
|
|
|
# Add steps that test and distribute an app, save build artifacts, and more:
|
|
|
|
# https://aka.ms/yaml
|
|
|
|
|
2020-08-16 20:43:48 +03:00
|
|
|
trigger: none
|
|
|
|
pr: none
|
2020-08-15 02:22:14 +03:00
|
|
|
|
|
|
|
pool:
|
|
|
|
name: Package ES Lab E
|
|
|
|
|
2020-08-16 20:43:48 +03:00
|
|
|
resources:
|
|
|
|
pipelines:
|
|
|
|
- pipeline: winsdk
|
|
|
|
source: WinSDK Nuget
|
|
|
|
version: 20195.1001.rs_onecore_dep.200815-1700
|
|
|
|
|
2020-08-15 02:22:14 +03:00
|
|
|
variables:
|
|
|
|
buildPlatform: 'x64'
|
|
|
|
buildConfiguration: 'Release'
|
|
|
|
|
|
|
|
steps:
|
2020-08-15 03:55:24 +03:00
|
|
|
- task: UseDotNet@2
|
|
|
|
inputs:
|
|
|
|
packageType: 'sdk'
|
2020-08-15 03:56:56 +03:00
|
|
|
version: '3.x'
|
2020-08-15 03:55:24 +03:00
|
|
|
|
2020-08-15 02:22:14 +03:00
|
|
|
- task: CmdLine@2
|
|
|
|
inputs:
|
|
|
|
script: |
|
2020-08-16 20:43:48 +03:00
|
|
|
dir $(PIPELINE.WORKSPACE)/winsdk
|
|
|
|
|
|
|
|
# call GenerateMetadataSource.cmd
|
2020-08-15 02:22:14 +03:00
|
|
|
|
|
|
|
#- task: NuGetToolInstaller@1
|
|
|
|
|
|
|
|
#- task: NuGetCommand@2
|
|
|
|
# inputs:
|
|
|
|
# restoreSolution: '$(solution)'
|
|
|
|
|
|
|
|
#- task: VSBuild@1
|
|
|
|
# inputs:
|
|
|
|
# platform: 'x86'
|
|
|
|
# solution: '$(solution)'
|
|
|
|
# configuration: '$(buildConfiguration)'
|
|
|
|
# msbuildArgs: '/p:AppxBundlePlatforms="$(buildPlatform)" /p:AppxPackageDir="$(appxPackageDir)" /p:AppxBundle=Always /p:UapAppxPackageBuildMode=StoreUpload'
|