Commit Graph

7 Commits

Author SHA1 Message Date
Simon Marquis
e5f1b842ee Gradle Configuration Cache on CI
- https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#saving-configuration-cache-data
- https://docs.gradle.org/current/userguide/configuration_cache.html#config_cache:secrets

And enable parallel Configuration Cache:
- https://docs.gradle.org/current/userguide/configuration_cache.html#config_cache:usage:parallel

This needs a `GRADLE_ENCRYPTION_KEY` secret to be configured in the repository [settings/secrets/actions](https://github.com/android/nowinandroid/settings/secrets/actions), otherwise no configuration cache will be saved or restored.
As explained in the docs, you can use this tool to generate a configuration-cache compatible key: `openssl rand -base64 16`.
2024-12-20 10:52:22 +01:00
Daniel Santiago
c908f989c8 Update to Hilt 2.48.1 and use the KSP version
* Moved protobuf to separate module to avoid having to wire KSP's Plugin with the Protobuf Plugin.
* `@Binds` function cannot be an extension function.
* Commented `kotlin.compiler.execution.strategy=in-process` in CI to circumvent OOMs due to increased metaspace usage.
2023-11-10 09:03:49 -08:00
Jolanda Verhoef
ac1471476a Only use gradle.properties to read warningsAsErrors 2022-08-24 17:42:21 +01:00
Jolanda Verhoef
ce5875cef8 Read gradle property as string instead of boolean, gradle sync fails otherwise. 2022-08-23 13:34:01 +01:00
Jolanda Verhoef
87affa5593 Read warningsAsErrors from local.properties or gradle.properties, and default to false 2022-08-23 12:56:41 +01:00
Alex Vanyo
171710b1a5 Update ci-gradle.properties to fix daemon disappearing issues on CI
Change-Id: Id7fcbfcfe73c2a5e98c0f75c53433ebdd036aec1
2022-07-21 12:18:41 -07:00
Jolanda Verhoef
ae0cc710ef Add github-specific setup (#1)
* Add github-specific setup

Change-Id: Iad8edf3c16182807eda6893c696244d9147f7cab

* Update Build.yaml

Replaces cC for cAT

* Filters out benchmark tests

* Trying to increase storage with disk.dataPartition.size

* Increasing size a bit more for API 23

* Remove API 23

* Reverting, using correct param name

* Increase again to 1500M

* heap=512M

java.lang.OutOfMemoryError: java.lang.OutOfMemoryError: OutOfMemoryError thrown while trying to throw an exception; no stack trace available

* replace 29 for 31

looks like 29 has memory issues https://github.com/google/android-fhir/issues/73

* API 30

* Arch x86_64 as there's no API 30 x86

Co-authored-by: Jose Alcérreca <JoseAlcerreca@users.noreply.github.com>
2022-05-12 18:20:23 +02:00