Run ci-build without parallelism on Linux

This commit is contained in:
Pranav K 2016-03-23 08:03:09 -07:00
parent 25e6606a6e
commit 7f1f8340d5
1 changed files with 1 additions and 2 deletions

View File

@ -151,9 +151,8 @@ var buildTarget = "compile"
foreach (var batch in batchedRepos) foreach (var batch in batchedRepos)
{ {
Parallel.ForEach(batch.ToArray(), new ParallelOptions { MaxDegreeOfParallelism = 4 }, repo => Parallel.ForEach(batch.ToArray(), new ParallelOptions { MaxDegreeOfParallelism = IsLinux ? 1 : 4 }, repo =>
{ {
var blockName = string.Format("Building {0}", repo); var blockName = string.Format("Building {0}", repo);
if (blockLogger != null) if (blockLogger != null)