From 8a7a37e3e6f12a2a20fff67b7bd853535f9387d0 Mon Sep 17 00:00:00 2001 From: Andrew Wang Date: Tue, 2 Apr 2019 11:15:57 -0700 Subject: [PATCH] Initialize Azure-Pipelines --- azure-pipelines.yml | 48 ++++++++++++++++++++++++++++++++++ build/version.settings.targets | 6 ++--- metadata.json | 2 +- 3 files changed, 52 insertions(+), 4 deletions(-) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 000000000..4d990a3a5 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,48 @@ +name: $(Date:yyyMMdd).$(Rev:r) +pr: +- 'master' +jobs: +- job: Debug + pool: 'Hosted VS2017' + steps: + - task: MSBuild@1 + inputs: + solution: 'BuildAndTest.proj' + configuration: 'Debug' + - task: PublishTestResults@2 + inputs: + testResultsFormat: 'xUnit' + testResultsFiles: 'bin\Debug\TestResults.xml' + searchFolder: '$(System.DefaultWorkingDirectory)' + testRunTitle: '$(Build.DefinitionName)_$(Build.BuildNumber)_Debug' + +- job: Release + pool: 'Hosted VS2017' + steps: + - task: MSBuild@1 + inputs: + solution: 'BuildAndTest.proj' + configuration: 'Release' + - task: PublishTestResults@2 + inputs: + testResultsFormat: 'xUnit' + testResultsFiles: 'bin\Release\TestResults.xml' + searchFolder: '$(System.DefaultWorkingDirectory)' + testRunTitle: '$(Build.DefinitionName)_$(Build.BuildNumber)_Release' + +- job: DesktopDebug + pool: 'Hosted VS2017' + steps: + - task: MSBuild@1 + inputs: + solution: 'BuildAndTest.proj' + configuration: 'Desktop.Debug' + + +- job: DesktopRelease + pool: 'Hosted VS2017' + steps: + - task: MSBuild@1 + inputs: + solution: 'BuildAndTest.proj' + configuration: 'Desktop.Release' \ No newline at end of file diff --git a/build/version.settings.targets b/build/version.settings.targets index f23abeb00..53093ec23 100644 --- a/build/version.settings.targets +++ b/build/version.settings.targets @@ -2,9 +2,9 @@ - 14 - 0 - 2013 + 16 + 1 + 2018