From e0f9443f7ec8b86b55393dcc99d24cc9d5853c95 Mon Sep 17 00:00:00 2001 From: Matt Mitchell Date: Mon, 6 May 2019 08:33:55 -0700 Subject: [PATCH] [2.6.x] Move PR validation to AzDO (#2424) * Move to azdo --- azure-pipelines.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000000..998865e6fb --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,34 @@ +trigger: +- 2.6.x + +pr: +- 2.6.x + +jobs: +- job: Windows_NT + displayName: Windows NT + pool: + vmImage: vs2017-win2016 + strategy: + matrix: + Debug: + _BuildConfig: Debug + Release: + _BuildConfig: Release + steps: + - checkout: self + clean: true + - script: .\eng\common\CIBuild.cmd -configuration $(_BuildConfig) -prepareMachine + - task: PublishTestResults@2 + inputs: + testResultsFormat: xUnit + testResultsFiles: '**/artifacts/TestResults/$(_BuildConfig)/*.xml' + condition: always() + - task: CopyFiles@2 + inputs: + contents: 'artifacts/**' + targetFolder: $(Build.ArtifactStagingDirectory) + - task: PublishBuildArtifacts@1 + inputs: + pathtoPublish: '$(Build.ArtifactStagingDirectory)' + artifactName: Windows_NT