diff --git a/build/pipelines/templates/build-console-audit-job.yml b/build/pipelines/templates/build-console-audit-job.yml index faf5ec67207..1c9a90d6e8f 100644 --- a/build/pipelines/templates/build-console-audit-job.yml +++ b/build/pipelines/templates/build-console-audit-job.yml @@ -8,7 +8,9 @@ jobs: variables: BuildConfiguration: AuditMode BuildPlatform: ${{ parameters.platform }} - pool: { vmImage: windows-2019 } + pool: "windevbuildagents" + # The public pool is also an option! + # pool: { vmImage: windows-2019 } steps: - checkout: self diff --git a/build/pipelines/templates/build-console-ci.yml b/build/pipelines/templates/build-console-ci.yml index d611a93540c..7c414af06b9 100644 --- a/build/pipelines/templates/build-console-ci.yml +++ b/build/pipelines/templates/build-console-ci.yml @@ -11,7 +11,9 @@ jobs: variables: BuildConfiguration: ${{ parameters.configuration }} BuildPlatform: ${{ parameters.platform }} - pool: { vmImage: windows-2019 } + pool: "windevbuildagents" + # The public pool is also an option! + # pool: { vmImage: windows-2019 } steps: - template: build-console-steps.yml diff --git a/build/pipelines/templates/build-console-steps.yml b/build/pipelines/templates/build-console-steps.yml index fd75a78a8bd..4a3adcb4054 100644 --- a/build/pipelines/templates/build-console-steps.yml +++ b/build/pipelines/templates/build-console-steps.yml @@ -41,9 +41,7 @@ steps: configuration: '$(BuildConfiguration)' msbuildArgs: "${{ parameters.additionalBuildArguments }}" clean: true - # The build agents cannot currently support parallel build due to the - # memory requirements of our PCH files. - maximumCpuCount: false + maximumCpuCount: true - task: PowerShell@2 displayName: 'Check MSIX for common regressions' diff --git a/src/common.build.post.props b/src/common.build.post.props index 3f271eaf626..e3e563b900d 100644 --- a/src/common.build.post.props +++ b/src/common.build.post.props @@ -54,7 +54,7 @@ + Condition="'$(OpenConsoleCleanPCH)' == 'true' and '$(AGENT_ID)' != '' and !$(ProjectName.Contains('TerminalApp'))">