Limit concurrent NativeAOT compiles to stop MSBuild nodes dying of memory pressure [CI]
ci/woodpecker/push/web-build Pipeline was successful
ci/woodpecker/push/verify Pipeline was successful
ci/woodpecker/push/dev-image Pipeline was canceled

This commit is contained in:
justme committed 2026-10-21 15:12:58 +08:00
1 parent f2658b24f7
commit 3654d37da5
4 files changed
+51 -4

No files matched your search

+2 -2
View File
@@ -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 \