Document release setup and limit Android memory for parallel CI
This commit is contained in:
1 parent
d648033f03
commit
1c9b702c54
2 files changed
+31
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user