From bc34e5abe514b95a47413f4414e87d6df26bed89 Mon Sep 17 00:00:00 2001 From: David Chisnall Date: Wed, 10 Jul 2019 11:50:20 +0100 Subject: [PATCH] Reduce parallelism on the Win8Compat CI job This version doesn't get to perform aligned allocations and so can consume a lot more memory than the other modes. --- azure-pipelines.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a4931f1..6e09d59 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -95,22 +95,27 @@ jobs: 64-bit Debug: BuildType: Debug CMakeArgs: '-G"Visual Studio 15 2017 Win64"' + JFlag: -j 4 64-bit Release: BuildType: Release CMakeArgs: '-G"Visual Studio 15 2017 Win64"' + JFlag: '-j 4' 64-bit Release Windows8Compat: BuildType: Release CMakeArgs: '-G"Visual Studio 15 2017 Win64" -DWIN8COMPAT=TRUE' + JFlag: '-j 2' 32-bit Debug: BuildType: Debug CMakeArgs: '-G"Visual Studio 15 2017"' + JFlag: '-j 4' 32-bit Release: BuildType: Release CMakeArgs: '-G"Visual Studio 15 2017"' + JFlag: '-j 4' steps: - task: CMake@1 @@ -124,7 +129,7 @@ jobs: solution: build/snmalloc.sln msbuildArguments: '/m /p:Configuration=$(BuildType)' - - script: 'ctest -j 4 --interactive-debug-mode 0 --output-on-failure -C $(BuildType)' + - script: 'ctest $(JFlag) --interactive-debug-mode 0 --output-on-failure -C $(BuildType)' workingDirectory: build displayName: 'Run Ctest'