From de994e0a8b1a86ae9ae8a1142b6a2761ce8b1dc4 Mon Sep 17 00:00:00 2001 From: Nate McMaster Date: Thu, 6 Dec 2018 12:41:37 -0800 Subject: [PATCH] Create temporary PR validation which just compiles, without tests (#4478) --- .../{fast-pr-validation.yml => ci.yml} | 19 ++++++------ .azure/pipelines/pr-validation-temp.yml | 30 +++++++++++++++++++ 2 files changed, 39 insertions(+), 10 deletions(-) rename .azure/pipelines/{fast-pr-validation.yml => ci.yml} (60%) create mode 100644 .azure/pipelines/pr-validation-temp.yml diff --git a/.azure/pipelines/fast-pr-validation.yml b/.azure/pipelines/ci.yml similarity index 60% rename from .azure/pipelines/fast-pr-validation.yml rename to .azure/pipelines/ci.yml index 216f257ef154..a0c24b2d1546 100644 --- a/.azure/pipelines/fast-pr-validation.yml +++ b/.azure/pipelines/ci.yml @@ -1,18 +1,17 @@ -trigger: -- master -- release/* +# Don't run CI for this config yet. We're not ready to move official builds on to Azure Pipelines +trigger: none + +# Run PR validation on all branches +pr: + branches: + include: + - '*' jobs: -- template: jobs/default-build.yml - parameters: - jobName: PR_FastCheck - jobDisplayName: Fast Check - agentOs: Windows - buildArgs: "/t:FastCheck" - template: jobs/default-build.yml parameters: jobName: Windows_Build - jobDisplayName: "Build: Windows" + jobDisplayName: "Build and test: Windows" agentOs: Windows beforeBuild: - powershell: "& ./src/IISIntegration/tools/UpdateIISExpressCertificate.ps1" diff --git a/.azure/pipelines/pr-validation-temp.yml b/.azure/pipelines/pr-validation-temp.yml new file mode 100644 index 000000000000..b190d7c0c49d --- /dev/null +++ b/.azure/pipelines/pr-validation-temp.yml @@ -0,0 +1,30 @@ +# This configuration is temporary while we work on getting all unit tests to pass on PR checks + +# Don't run CI for this config +trigger: none + +# Run PR validation on all branches +pr: + branches: + include: + - '*' + +jobs: +- template: jobs/default-build.yml + parameters: + jobName: Windows_Build + jobDisplayName: "Build only : Windows" + agentOs: Windows + buildArgs: '/p:SkipTests=true' +- template: jobs/default-build.yml + parameters: + jobName: macOs_Build + jobDisplayName: "Build only : macOS" + agentOs: macOS + buildArgs: '/p:SkipTests=true' +- template: jobs/default-build.yml + parameters: + jobName: Linux_Build + jobDisplayName: "Build only : Linux" + agentOs: Linux + buildArgs: '/p:SkipTests=true'