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'
|
2020-08-16 21:05:04 +03:00
|
|
|
System.Debug: false
|
2020-08-15 02:22:14 +03:00
|
|
|
|
|
|
|
steps:
|
2020-08-16 20:47:16 +03:00
|
|
|
- download: winsdk
|
2020-08-16 20:58:41 +03:00
|
|
|
artifact: NuGetPackages
|
2020-08-16 20:47:16 +03:00
|
|
|
|
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-16 20:47:16 +03:00
|
|
|
|
|
|
|
- script: |
|
2020-08-16 21:05:04 +03:00
|
|
|
echo resources.pipeline.winsdk.pipelineID = $(resources.pipeline.winsdk.pipelineID)
|
|
|
|
echo resources.pipeline.winsdk.runName = $(resources.pipeline.winsdk.runName)
|
|
|
|
echo resources.pipeline.winsdk.runID = $(resources.pipeline.winsdk.runID)
|
|
|
|
echo resources.pipeline.winsdk.runURI = $(resources.pipeline.winsdk.runURI)
|
|
|
|
echo resources.pipeline.winsdk.sourceBranch = $(resources.pipeline.winsdk.sourceBranch)
|
|
|
|
echo resources.pipeline.winsdk.sourceCommit = $(resources.pipeline.winsdk.sourceCommit)
|
|
|
|
echo resources.pipeline.winsdk.sourceProvider = $(resources.pipeline.winsdk.sourceProvider)
|
|
|
|
echo resources.pipeline.winsdk.requestedFor = $(resources.pipeline.winsdk.requestedFor)
|
|
|
|
echo resources.pipeline.winsdk.requestedForID = $(resources.pipeline.winsdk.requestedForID)
|
2020-08-16 20:47:16 +03:00
|
|
|
|
2020-08-15 02:22:14 +03:00
|
|
|
- task: CmdLine@2
|
|
|
|
inputs:
|
|
|
|
script: |
|
2020-08-16 21:07:27 +03:00
|
|
|
dir $(Agent.BuildDirectory)\winsdk /s
|
2020-08-16 20:43:48 +03:00
|
|
|
|
|
|
|
# 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'
|