From b61c1573c20052e78800e067f55856b0b4b7ac81 Mon Sep 17 00:00:00 2001 From: Nate McMaster Date: Thu, 6 Dec 2018 10:35:05 -0800 Subject: [PATCH 1/3] Create temporary PR validation which just compiles, without tests --- .../{fast-pr-validation.yml => ci.yml} | 10 ++----- .azure/pipelines/pr-validation-temp.yml | 30 +++++++++++++++++++ 2 files changed, 32 insertions(+), 8 deletions(-) rename .azure/pipelines/{fast-pr-validation.yml => ci.yml} (85%) 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 85% rename from .azure/pipelines/fast-pr-validation.yml rename to .azure/pipelines/ci.yml index 00af6695ec8c..02082f03bd87 100644 --- a/.azure/pipelines/fast-pr-validation.yml +++ b/.azure/pipelines/ci.yml @@ -1,4 +1,4 @@ -# Don't run CI for this config +# 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 @@ -8,16 +8,10 @@ pr: - '*' 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; & ./src/IISIntegration/tools/update_schema.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' From e2a7c66c49f1226fd925983189aebfd0ab35e12a Mon Sep 17 00:00:00 2001 From: Nate McMaster Date: Thu, 6 Dec 2018 11:00:17 -0800 Subject: [PATCH 2/3] Install nodejs --- .azure/pipelines/jobs/default-build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.azure/pipelines/jobs/default-build.yml b/.azure/pipelines/jobs/default-build.yml index 41be3aac87bf..7ae14fb31db7 100644 --- a/.azure/pipelines/jobs/default-build.yml +++ b/.azure/pipelines/jobs/default-build.yml @@ -103,6 +103,9 @@ jobs: steps: - checkout: self clean: true + - task: NodeTool@0 + inputs: + versionSpec: 10.x - ${{ if and(eq(parameters.agentOs, 'Windows'), eq(parameters.codeSign, 'true')) }}: - task: MicroBuildSigningPlugin@1 displayName: Install MicroBuild Signing plugin From 8f04bf281fe6078eaf59abfc9545173eb1f78a09 Mon Sep 17 00:00:00 2001 From: Nate McMaster Date: Thu, 6 Dec 2018 11:27:47 -0800 Subject: [PATCH 3/3] retrigger PR validation