Document release setup and limit Android memory for parallel CI
Gitea CI / Windows x64 and Android (pull_request) Canceled after 0s
Gitea CI / Gitea CI passed (pull_request) Canceled after 0s

This commit is contained in:
lingjhf committed 2026-10-06 03:19:09 +08:00
1 parent d648033f03
commit 1c9b702c54
2 files changed
+31

No files matched your search

+5
View File
@@ -38,6 +38,11 @@ jobs:
- run: flutter pub get --enforce-lockfile
- run: dart analyze --fatal-infos
- run: flutter test --reporter expanded
- name: Bound Android build memory on the shared runner
run: |
$file = 'android/gradle.properties'
$properties = [IO.File]::ReadAllText($file).Replace('-Xmx8G', '-Xmx3G').Replace('MaxMetaspaceSize=4G', 'MaxMetaspaceSize=768m')
[IO.File]::WriteAllText($file, $properties + "`norg.gradle.workers.max=4`n")
- run: flutter build apk --release --flavor production --target-platform android-arm64,android-x64
- run: flutter build windows --release --flavor production
- run: python -m pip install pefile==2024.8.26