未验证 提交 f633aadc 编写于 作者: J Joey Robichaud 提交者: GitHub

Disable parallel nuget restore on linux and mac (#33109)

上级 beeed1f3
......@@ -64,6 +64,7 @@ skip_analyzers=false
prepare_machine=false
warn_as_error=false
properties=""
disable_parallel_restore=false
docker=false
args=""
......@@ -222,7 +223,7 @@ function BuildSolution {
# NuGet often exceeds the limit of open files on Mac and Linux
# https://github.com/NuGet/Home/issues/2163
if [[ "$UNAME" == "Darwin" || "$UNAME" == "Linux" ]]; then
ulimit -n 6500
disable_parallel_restore=true
fi
local quiet_restore=""
......@@ -273,6 +274,7 @@ function BuildSolution {
/p:QuietRestore=$quiet_restore \
/p:QuietRestoreBinaryLog="$binary_log" \
/p:TreatWarningsAsErrors=true \
/p:RestoreDisableParallel=$disable_parallel_restore \
$test_runtime \
$mono_tool \
$properties
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册