winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 85992838b25b511a76d291acd97c5974d564ac7a
parent b1278ab4e65b9aa8964d6028690b34b08b327237
Author: JohnMcPMS <johnmcp@microsoft.com>
Date:   Tue,  3 Dec 2019 16:57:20 -0800

Set up CI with Azure Pipelines (#2)

* Set up CI with Azure Pipelines

[skip ci]

* Move to 2019 toolset

* Remove default comments from pipeline definition.

* Explicit PR trigger for master

Diffstat:
Aazure-pipelines.yml | 32++++++++++++++++++++++++++++++++
Msrc/AppInstallerCLI/AppInstallerCLI.vcxproj | 2+-
2 files changed, 33 insertions(+), 1 deletion(-)

diff --git a/azure-pipelines.yml b/azure-pipelines.yml @@ -0,0 +1,32 @@ +# Commit triggers +trigger: +- master + +# PR triggers +pr: + branches: + include: + - master + +pool: + vmImage: 'windows-latest' + +variables: + solution: '**/*.sln' + buildPlatform: 'x86|x64|ARM' + buildConfiguration: 'Release' + appxPackageDir: '$(build.artifactStagingDirectory)\AppxPackages\\' + +steps: +- 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' diff --git a/src/AppInstallerCLI/AppInstallerCLI.vcxproj b/src/AppInstallerCLI/AppInstallerCLI.vcxproj @@ -53,7 +53,7 @@ <ConfigurationType>Application</ConfigurationType> <PlatformToolset>v140</PlatformToolset> <PlatformToolset Condition="'$(VisualStudioVersion)' == '15.0'">v141</PlatformToolset> - <PlatformToolset Condition="'$(VisualStudioVersion)' == '16.0'">v141</PlatformToolset> + <PlatformToolset Condition="'$(VisualStudioVersion)' == '16.0'">v142</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">