mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 15:50:16 +02:00
Increase JVM memory for gradle builds (#236)
Updates to increase amount of memory available during CI builds. I think this will help with the intermittent `A failure occurred while executing "com.android.build.gradle.tasks.PackageAndroidArtifact$IncrementalSplitterRunnable` CI errors. No user facing changes
This commit is contained in:
parent
6be2662d4e
commit
e3d94ad819
3 changed files with 6 additions and 3 deletions
3
.github/workflows/pr.yml
vendored
3
.github/workflows/pr.yml
vendored
|
|
@ -9,6 +9,7 @@ defaults:
|
|||
|
||||
env:
|
||||
BUILD_DIRS_ARTIFACT: build-dirs
|
||||
GRADLE_OPTS: "-Dorg.gradle.jvmargs='-Xmx4g -XX:MaxMetaspaceSize=512m'"
|
||||
|
||||
jobs:
|
||||
pre-commit:
|
||||
|
|
@ -42,7 +43,7 @@ jobs:
|
|||
- name: Build app
|
||||
id: buildapp
|
||||
run: |
|
||||
./gradlew clean assembleDebug
|
||||
./gradlew clean assembleDebug --no-daemon
|
||||
apks=$(find app/build/outputs/apk -name '*.apk' -print0 | tr '\0' ',' | sed 's/,$//')
|
||||
echo "apks=$apks" >> "$GITHUB_OUTPUT"
|
||||
- name: Tar build dirs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue