From 91ccbb79f0c1ee6165bd9ae2d265270954b4ec7c Mon Sep 17 00:00:00 2001 From: Dustin Howett Date: Thu, 8 Oct 2020 17:17:50 -0700 Subject: [PATCH] BUILD: Disable parallel build The build agents can't handle the size of our PCH files. Signed-off-by: Dustin Howett --- build/pipelines/templates/build-console-steps.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/pipelines/templates/build-console-steps.yml b/build/pipelines/templates/build-console-steps.yml index 4a3adcb40..fd75a78a8 100644 --- a/build/pipelines/templates/build-console-steps.yml +++ b/build/pipelines/templates/build-console-steps.yml @@ -41,7 +41,9 @@ steps: configuration: '$(BuildConfiguration)' msbuildArgs: "${{ parameters.additionalBuildArguments }}" clean: true - maximumCpuCount: true + # The build agents cannot currently support parallel build due to the + # memory requirements of our PCH files. + maximumCpuCount: false - task: PowerShell@2 displayName: 'Check MSIX for common regressions'