Jorge Martin Espinosa
79c17f714f
Use Anvil KSP instead of the Square KAPT one ( #3564 )
...
* Use Anvil KSP instead of the Square KAPT one
* Fix several configuration cache, lint and test issues
* Allow incremental kotlin compilation in the CI
* Workaround Robolectric + Compose issue that caused `AppNotIdleException`
* Update the `enterprise` commit hash
* Update screenshots
---------
Co-authored-by: ElementBot <android@element.io>
4 weeks ago
Jorge Martin Espinosa
7e37bf4a36
Try adding a memory limit for the kotlin compiler ( #3377 )
...
* Try adding a memory limit for the kotlin compiler
* Tweak values for all flows
2 months ago
renovate[bot]
250f0706fb
Update gradle/actions action to v4 ( #3265 )
...
* Update gradle/actions action to v4
* Remove unnecessary gradle validation after action update to v4
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
3 months ago
Jorge Martin Espinosa
cbad91e4c4
Fix CI for forks ( #3226 )
...
* Try with a different condition for forks
* Skip danger in forks, the fallback token won't let it write comments in PRs anyway
3 months ago
Benoit Marty
44cd30233c
Skip build Element Enterprise on forks.
4 months ago
Benoit Marty
08ea193a95
Use deploy key to build Element Enterprise
4 months ago
Benoit Marty
dccb3877d8
CI: build Element Enterprise
4 months ago
Jorge Martin Espinosa
c9e0db26d8
Try to workaround OOM errors and the runners dying ( #3013 )
...
* Try to workaround OOM errors and the runner dying
* Some more tweaks:
- Add `-XX:MaxMetaspaceSize` (https://github.com/gradle/gradle/issues/19750 )
- Remove `-PpreDexEnable` as it's deprecated and no longer used.
- Remove `--max-workers` as gradle will automatically use the optimal amount.
* Remove `--max-workers` in recording screenshots too
5 months ago
Jorge Martin Espinosa
58c05ade65
Try fixing OOM by changing GC and adding RAM to the kotlin compiler ( #2965 )
...
* Try fixing OOM by changing GC and adding RAM to the kotlin compiler
* Add gradle cache to build apk job in maestro flow.
- Remove unnecessary dependency in `:features:call` module.
* Fix sonar in nightly reports
* Bump heap size of nightly reports
5 months ago
Jorge Martin Espinosa
bb672d3bc7
Bump max heap size for building the debug APK for Maestro ( #2960 )
...
* Bump max heap size for building the debug APK for Maestro
* Enable `sonar.gradle.skipCompile`
* Fix sonar job
* Bump the MaxMetaspaceSize
* Don't try to upload failed test results to codecov, it doesn't work
5 months ago
Jorge Martin Espinosa
988057925a
Split building the debug APK in CI ( #2774 )
...
* Split building the debug APK in CI
* Split building the debug APK in CI
* Upload only universal APK to save time
6 months ago
Jorge Martin Espinosa
edf01cf8a7
Bump CI max JVM heap size and CPU usage ( #2444 )
...
* Bump CI max JVM heap size and CPU usage
* Bump Heap size a bit more for `build`
* Bump Heap size for tests too
8 months ago
renovate[bot]
f229659e08
Update rnkdsh/action-upload-diawi action to v1.5.5
9 months ago
Benoit Marty
eba1571ad0
Migrate form `gradle/gradle-build-action` to `gradle/actions/setup-gradle`
...
https://github.com/gradle/gradle-build-action
9 months ago
renovate[bot]
6a96bcb07a
Update gradle/gradle-build-action action to v3
9 months ago
renovate[bot]
a98749bad7
Update gradle/gradle-build-action action to v2.12.0
9 months ago
Benoit Marty
e0d4ece5b7
Fix gradle task ambiguity.
10 months ago
Benoit Marty
a455a03a0f
Also export fdroid build as artifact.
10 months ago
Benoit Marty
db6b52f8bf
Update gradle tasks and paths regarding the new gplay and fdroid flavor.
10 months ago
renovate[bot]
275e56b39e
Update gradle/gradle-build-action action to v2.11.1
11 months ago
renovate[bot]
cabea138cb
Update actions/upload-artifact action to v4 ( #2034 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
11 months ago
renovate[bot]
7ccfb810d6
Update gradle/gradle-build-action action to v2.11.0
11 months ago
renovate[bot]
2ea79709d1
Update actions/setup-java action to v4
11 months ago
renovate[bot]
2ba771dcb7
Update gradle/gradle-build-action action to v2.10.0
11 months ago
renovate[bot]
1937d0e67d
Update rnkdsh/action-upload-diawi action to v1.5.4
12 months ago
renovate[bot]
9e66180d20
Update kotlin ( #1697 )
...
* Update kotlin
* Lower Sonar RAM usage, remove redundant `Dkotlin.daemon.jvm.options`
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
12 months ago
Jorge Martin Espinosa
b57fddf19c
Lower max RAM usage for gradle to avoid CI issues ( #1766 )
12 months ago
Jorge Martin Espinosa
1f5a135072
Use Parallel GC and bump RAM usage ( #1734 )
...
* Use Parallel GC and bump RAM usage
* Build only `app` project in `Build APKs (debug)` flow.
* Remove redundant JNA dependency
1 year ago
renovate[bot]
d92017745d
Update rnkdsh/action-upload-diawi action to v1.5.3 ( #1505 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 year ago
renovate[bot]
7a158f06b3
Update gradle/gradle-build-action action to v2.9.0
1 year ago
renovate[bot]
ee901c70a2
Update gradle/gradle-build-action action to v2.8.1 ( #1426 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 year ago
renovate[bot]
870cd040d0
Update rnkdsh/action-upload-diawi action to v1.5.2
1 year ago
Benoit Marty
995d4e9f6d
Just try using `actions/checkout@v4`
1 year ago
renovate[bot]
ff3fd793ff
Update actions/checkout action to v4
1 year ago
renovate[bot]
6596f5ec48
Update gradle/gradle-build-action action to v2.8.0
1 year ago
renovate[bot]
18f82c7329
Update gradle/gradle-build-action action to v2.7.1
1 year ago
Jorge Martín
ccacb118a1
Revert merge queue CI optimizations
1 year ago
Jorge Martín
99909e9b9f
Fix concurrentcy group for building develop with a matrix of variants
1 year ago
Jorge Martín
a6d6869e55
Fix concurrentcy group for building develop
1 year ago
Jorge Martin Espinosa
b14c741422
CI improvements ( #1012 )
1 year ago
Jorge Martin Espinosa
ca3e284991
Try to skip extra checks in the CI for up to date PRs in merge queue. ( #1010 )
...
* Try to skip extra checks in the CI for up to date PRs in merge queue.
* Try to simplify check
* Remove expression syntax from `if`s
1 year ago
Jorge Martin Espinosa
9e85c74c9c
Try to fix using the merge queue ( #1009 )
1 year ago
renovate[bot]
61a3705c2e
Update gradle/gradle-build-action action to v2.7.0 ( #958 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 year ago
Benoit Marty
089fc8b4dd
Ci will not ignore compilation warnings.
1 year ago
Marco Romano
e8e4542a75
Extract maptiler's map ids ( #926 )
...
Maptiler custom map ids are only useable by the account that create them. So if we hardcode them forkers won't be able to use the maps even if the bring in their own api key (because they can't access our maps with their api key).
Requires to set our map ids in `local.properties` for local development:
```
services.maptiler.lightMapId=9bc819c8-e627-474a-a348-ec144fe3d810
services.maptiler.darkMapId=dea61faf-292b-4774-9660-58fcef89a7f3
```
1 year ago
Benoit Marty
cbe1c05c0c
Do not build main branch in this workflow.
1 year ago
renovate[bot]
e7a615ea71
Update gradle/gradle-build-action action to v2.6.1 ( #893 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 year ago
Chris Smith
9ef8b36f51
Location sharing: don't hardcode API key
...
In an effort to make it easier for forks to (a) use their own
API keys (b) change map styles or maybe even providers, move
the MapTiler key out of the source code and pass it in via
env var or property.
Also refactor the utility classes slightly to keep all the URL
related functions together, to reduce the chance of collisions
when maintaining such forks.
1 year ago
renovate[bot]
bff5c9874f
Update rnkdsh/action-upload-diawi action to v1.5.1
1 year ago
renovate[bot]
f43de1f496
Update gradle/gradle-build-action action to v2.6.0
1 year ago