Limit concurrent NativeAOT compiles to stop MSBuild nodes dying of memory pressure [CI]
This commit is contained in:
1 parent
f2658b24f7
commit
3654d37da5
4 files changed
+51
-4
No files matched your search
+2
-2
@@ -91,9 +91,9 @@ mkdir -p "$sqlite_cache_root/locks"
|
||||
# an idle node-reuse worker can inherit it and block later pipelines indefinitely.
|
||||
(
|
||||
cd "$root/backend"
|
||||
flock --close --wait 900 "$sqlite_cache_root/locks/$rid.lock" \
|
||||
bash "$root/ci/with-aot-slot.sh" flock --close --wait 900 "$sqlite_cache_root/locks/$rid.lock" \
|
||||
dotnet publish src/MoShiro.Backend \
|
||||
-m:8 -c Release -r "$rid" --self-contained true \
|
||||
-m:4 -nodeReuse:false -c Release -r "$rid" --self-contained true \
|
||||
--no-restore \
|
||||
-p:DebugType=none -p:DebugSymbols=false \
|
||||
-p:PublishAot=true -p:UseAotAnywhere=true -p:SqliteStaticLink=true -p:OpenApiGenerateDocuments=false \
|
||||
|
||||
Reference in new issue
Block a user