diff --git a/.gitea/workflows/pixel10.yml b/.gitea/workflows/pixel10.yml index 28b8bd67..fcb9750b 100644 --- a/.gitea/workflows/pixel10.yml +++ b/.gitea/workflows/pixel10.yml @@ -168,13 +168,15 @@ jobs: fi - name: Build and verify Pixel 10 APK env: - CARGO_BUILD_JOBS: "1" + CARGO_BUILD_JOBS: "2" CARGO_INCREMENTAL: "0" - # Keep the colocated Gitea instance responsive on a small host. - JAVA_TOOL_OPTIONS: -XX:ActiveProcessorCount=1 + # The previous measured run kept about 16 GiB RAM free. GeckoView's + # Jetifier transform needs more than a 1 GiB heap, while two workers + # still leave ample headroom for the colocated Gitea instance. + JAVA_TOOL_OPTIONS: -XX:ActiveProcessorCount=2 GRADLE_OPTS: >- - -Dorg.gradle.jvmargs=-Xmx1G - -Dorg.gradle.workers.max=1 + -Dorg.gradle.jvmargs=-Xmx4G + -Dorg.gradle.workers.max=2 -Dorg.gradle.parallel=false -Dorg.gradle.daemon=false -Dkotlin.compiler.execution.strategy=in-process