feat(m1): Connect & browse — first-run flow, public content, contact #6
@@ -65,7 +65,11 @@ jobs:
|
|||||||
|
|
||||||
# chmod defensively: this runner's checkout doesn't preserve the git
|
# chmod defensively: this runner's checkout doesn't preserve the git
|
||||||
# executable bit, so `./gradlew` alone fails with "Permission denied".
|
# executable bit, so `./gradlew` alone fails with "Permission denied".
|
||||||
|
# Debug-variant-only gate: unit tests, lint, and the debug APK. Scoping to
|
||||||
|
# the debug variant (vs. the aggregate `test`/`lint`) avoids compiling and
|
||||||
|
# linting the release variant in parallel, which halves peak memory on the
|
||||||
|
# runner and keeps lint's report phase from GC-thrashing (see gradle.properties).
|
||||||
- name: Lint, test, assemble debug
|
- name: Lint, test, assemble debug
|
||||||
run: |
|
run: |
|
||||||
chmod +x ./gradlew
|
chmod +x ./gradlew
|
||||||
./gradlew --no-daemon lint test assembleDebug
|
./gradlew --no-daemon testDebugUnitTest lintDebug assembleDebug
|
||||||
|
|||||||
@@ -1,5 +1,9 @@
|
|||||||
# Project-wide Gradle settings.
|
# Project-wide Gradle settings.
|
||||||
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
|
# Heap raised from 2048m: Android lint's report phase (lintReportDebug) needs
|
||||||
|
# more than 2 GB on the full app codebase and GC-thrashes to a hang below that
|
||||||
|
# on the CI runner (it passed at 2 GB only while the M0 scaffold was trivial).
|
||||||
|
# Metaspace is capped so the larger heap doesn't crowd container RAM.
|
||||||
|
org.gradle.jvmargs=-Xmx3g -XX:MaxMetaspaceSize=1g -Dfile.encoding=UTF-8
|
||||||
org.gradle.caching=true
|
org.gradle.caching=true
|
||||||
org.gradle.configuration-cache=true
|
org.gradle.configuration-cache=true
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user