From 28543641bb29716e7ed5f4b396ba5427fec862ba Mon Sep 17 00:00:00 2001 From: Gent S Date: Mon, 28 Dec 2020 08:10:23 -0500 Subject: [PATCH] Properly parallelize Windows builds --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 4c959dd..20b8ff0 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -73,7 +73,7 @@ for: foreach ($configuration in $configurations) { Write-Output "Building version $version $configuration" - Invoke-Expression "msbuild -m:8 build\OpenFusion.sln /p:Configuration=$configuration" + Invoke-Expression "msbuild build\OpenFusion.sln /maxcpucount:8 /p:BuildInParallel=true /p:CL_MPCount=8 /p:UseMultiToolTask=true /p:Configuration=$configuration" if ($LASTEXITCODE -ne "0") { Write-Error "msbuild build failed for version $version" -ErrorAction Stop }