From 52a79f41ce42e36a7ce4eb766bbeedf15d01dc09 Mon Sep 17 00:00:00 2001 From: Egor Chesakov Date: Thu, 6 Dec 2018 10:22:50 -0800 Subject: [PATCH] Run MSBuild in parallel when submitting jobs to Helix (dotnet/coreclr#21390) Commit migrated from https://github.com/dotnet/coreclr/commit/2161d9d1789d28b1e56f4edff47572b12585a680 --- eng/test-job.yml | 4 ++-- src/coreclr/tests/helixpublishwitharcade.proj | 21 +++++++++------------ 2 files changed, 11 insertions(+), 14 deletions(-) diff --git a/eng/test-job.yml b/eng/test-job.yml index d596c93..32acec3 100644 --- a/eng/test-job.yml +++ b/eng/test-job.yml @@ -113,7 +113,7 @@ jobs: # Send tests to helix - ${{ if or(eq(parameters.osGroup, 'Linux'), eq(parameters.osGroup, 'OSX')) }}: - - script: ./Tools/dotnetcli/dotnet msbuild tests/helixpublishwitharcade.proj /t:Test $(scenariosArg) + - script: ./Tools/dotnetcli/dotnet msbuild tests/helixpublishwitharcade.proj /maxcpucount $(scenariosArg) displayName: Send test jobs to Helix env: ${{ if eq(variables['System.TeamProject'], 'internal') }}: @@ -123,7 +123,7 @@ jobs: # Access token variable for public project HelixAccessToken: $(BotAccount-dotnet-github-anon-kaonashi-bot-helix-token) - ${{ if eq(parameters.osGroup, 'Windows_NT') }}: - - script: .\Tools\dotnetcli\dotnet msbuild tests\helixpublishwitharcade.proj /t:Test $(scenariosArg) + - script: .\Tools\dotnetcli\dotnet msbuild tests\helixpublishwitharcade.proj /maxcpucount $(scenariosArg) displayName: Send test jobs to Helix env: ${{ if eq(variables['System.TeamProject'], 'internal') }}: diff --git a/src/coreclr/tests/helixpublishwitharcade.proj b/src/coreclr/tests/helixpublishwitharcade.proj index 38fb8d2..50d7818 100644 --- a/src/coreclr/tests/helixpublishwitharcade.proj +++ b/src/coreclr/tests/helixpublishwitharcade.proj @@ -1,4 +1,4 @@ - + - - - - + + false + true + +