101 Commits

Author SHA1 Message Date
renovate[bot]
d648c598c2 chore(deps): update gradle/actions action to v6 (#6489)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-01 15:13:07 +02:00
Benoit Marty
56df101a33 Fix permission issue 2026-03-05 16:03:48 +01:00
Benoit Marty
17f45d091a Remove all permission by default. 2026-03-05 15:39:55 +01:00
Benoit Marty
42d9efbeb9 Apply zizmor autofix
Command: `zizmor --fix=all .`
2026-03-05 15:39:54 +01:00
Benoit Marty
bb48fb7fd1 Use commit instead of version for github actions. 2026-03-05 15:39:54 +01:00
Jorge Martin Espinosa
99ddadd0fa Fix nightly CI issues (#6263)
* Reduce max heap size from 9GB to 8GB for all CI jobs using gradle
2026-02-27 09:31:50 +00:00
renovate[bot]
5547b532b1 Update GitHub Artifact Actions (#6260)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-27 09:55:47 +01:00
Jorge Martin Espinosa
3a856394f2 Add free disk space action to CI actions (#6212)
* Add free disk space action

* Remove 'upload APK for Maestro' step since it's no longer used

* Re-enable tool-cache removal

* Add the free disk space step to other gradle-related jobs

* Use commit SHA

* Disable removing `large-packages`
2026-02-18 22:55:50 +01:00
renovate[bot]
861ee714b4 Update GitHub Artifact Actions (#5932)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-19 15:38:26 +01:00
Jorge Martín
ea36caf981 Update GH action flows to include the SDK DSN value 2025-12-04 12:17:52 +01:00
renovate[bot]
2415297eba chore(deps): update actions/checkout action to v6 (#5805)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-26 10:28:38 +01:00
renovate[bot]
5c88c78316 chore(deps): update github artifact actions 2025-10-25 00:13:11 +00:00
renovate[bot]
447f6a1b11 Merge pull request #5533 from element-hq/renovate/rnkdsh-action-upload-diawi-1.x
chore(deps): update rnkdsh/action-upload-diawi action to v1.5.12
2025-10-14 11:31:38 +02:00
renovate[bot]
f212d3f500 chore(deps): update gradle/actions action to v5 (#5444)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-03 16:49:43 +02:00
renovate[bot]
906583e8a5 Update actions/setup-java action to v5 (#5196)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-21 08:35:01 +02:00
renovate[bot]
ffe183c952 Update actions/checkout action to v5 (#5148)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-11 13:37:56 +00:00
renovate[bot]
54877db092 Update rnkdsh/action-upload-diawi action to v1.5.11 (#5141)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-11 14:48:31 +02:00
renovate[bot]
d7a25900eb Update rnkdsh/action-upload-diawi action to v1.5.10 (#5019)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-14 09:59:20 +02:00
renovate[bot]
4ffe9ea0e9 chore(deps): update rnkdsh/action-upload-diawi action to v1.5.9 (#4674)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-05 15:33:39 +02:00
Benoit Marty
716827e8bc Pin commit sha on GitHub actions (#4653)
* Use Git SHA instead of version.

* Use version instead of main branch.
2025-04-29 09:08:06 +02:00
Jorge Martin Espinosa
e2febabcf6 Use embedded version of Element Call (#4470)
* Use embedded version of Element Call: for in-app room calls, the app will use an embedded version of Element Call shipped with the app instead of using an external service.

* Remove `ElementCallBaseUrlProvider` so we don't use the Element well known file to get the base URL anymore

* Remove `ElementCallConfig.DEFAULT_BASE_URL` since it's not used anymore

* Restore the usage of the custom EC base URL in developer settings as the actual base URL, it present

* Add a way to customise the embedded EC analytic credentials

* Update CI to use the EC analytic credentials as secrets

* Improve the custom URL placeholder to include the `/room` suffix
2025-03-26 09:35:21 +01:00
renovate[bot]
9859734109 chore(deps): update rnkdsh/action-upload-diawi action to v1.5.8 (#4457)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-24 09:28:17 +01:00
Benoit Marty
00e46456b7 Just compile the nightly source. 2025-03-21 12:49:40 +01:00
Benoit Marty
a0105c3bd2 Ensure that release and nightly can be bundled. 2025-03-21 12:33:03 +01:00
renovate[bot]
9e661c56e4 Update rnkdsh/action-upload-diawi action to v1.5.7 2025-03-04 11:50:25 +00:00
Benoit Marty
45b81c67b8 Merge pull request #4173 from element-hq/renovate/rnkdsh-action-upload-diawi-1.x
Update rnkdsh/action-upload-diawi action to v1.5.6
2025-02-03 18:42:26 +01:00
Jorge Martin Espinosa
c935783a78 Use secret Sentry DSN value (#4210)
* Use secret Sentry DSN value.

We realised our DSN entry has been shipped along with the code and it was being used in several forks as is, resulting in wrong bug reports coming into our Sentry dashboard and making it very hard to debug actual issues in the app.
2025-01-29 13:47:06 +01:00
renovate[bot]
91d0326bbf Update rnkdsh/action-upload-diawi action to v1.5.6 2025-01-20 08:45:01 +00:00
Jorge Martin Espinosa
d5c0a00a0c Make Maestro run for each PR push (#4121)
- Remove the `workflow_run` configuration for the Maestro job.
- Make the 'build apk' job always run again too.
- Make sure the test results are uploaded when the Maestro job fails too (this broke somehow).
2025-01-13 21:06:59 +01:00
Jorge Martin Espinosa
40699dd3fa Test using Maestro CLI + emulator instead of Cloud (#4092)
Add Maestro local CI workflow:
- Remove previous Maestro Cloud.
- Use an emulator with Pixel 7 Pro - API 35.
- Allow to record several videos in the background to verify the run.
- Upload test results.
- Allow either dispatching a new flow, running the 'build apk' job or run with a PR after the 'Build APK' flow has succeeded.
2025-01-07 14:05:14 +01:00
Benoit Marty
cfc093b401 Remove :samples:minimal module 2024-11-14 09:06:13 +01:00
Jorge Martin Espinosa
8c97e05733 Disable configuration cache in the CI by default (#3601) 2024-10-04 13:57:46 +02:00
Jorge Martin Espinosa
60f1bf6e54 Upgrade the used JDK in the project to v21 (#3582)
* Upgrade the used JDK in the project to v21

* Use it for CI too

* Centralise java language version

* Fix deprecations, tests and lint issues

* Fix coverage taking into account `@Preview` annotated code.

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-10-03 09:38:03 +00:00
Jorge Martin Espinosa
4a43fcb69a 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>
2024-10-02 11:52:17 +00:00
Jorge Martin Espinosa
199893c701 Try adding a memory limit for the kotlin compiler (#3377)
* Try adding a memory limit for the kotlin compiler

* Tweak values for all flows
2024-09-04 19:33:50 +00:00
renovate[bot]
5c24587c53 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>
2024-08-09 15:03:14 +02:00
Benoit Marty
4f39490fd0 Remove useless if, this workflow is not triggered when pushing the main branch. 2024-06-27 09:34:49 +02:00
Jorge Martin Espinosa
f3fa7e57a5 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
2024-06-12 15:35:51 +02:00
Jorge Martin Espinosa
0bf4819de2 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
2024-06-03 11:28:51 +02:00
Jorge Martin Espinosa
921e63680c 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
2024-05-31 14:44:33 +00:00
Jorge Martin Espinosa
87595c7a5f 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
2024-04-30 18:42:30 +02:00
Jorge Martin Espinosa
31db4fa3c8 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
2024-02-27 11:26:56 +01:00
renovate[bot]
b0120adc89 Update rnkdsh/action-upload-diawi action to v1.5.5 2024-02-15 11:33:40 +00:00
Benoit Marty
5f7174e337 Migrate form gradle/gradle-build-action to gradle/actions/setup-gradle
https://github.com/gradle/gradle-build-action
2024-02-01 14:53:28 +01:00
renovate[bot]
a190a47109 Update gradle/gradle-build-action action to v3 2024-01-31 11:34:52 +00:00
renovate[bot]
196203a9f5 Update gradle/gradle-build-action action to v2.12.0 2024-01-24 22:25:02 +00:00
Benoit Marty
81078a59a8 Fix gradle task ambiguity. 2024-01-11 22:19:43 +01:00
Benoit Marty
9b09aaa80f Also export fdroid build as artifact. 2024-01-11 21:42:04 +01:00
Benoit Marty
345b7e9ab6 Update gradle tasks and paths regarding the new gplay and fdroid flavor. 2024-01-11 21:42:04 +01:00
renovate[bot]
fd53c587fe Update gradle/gradle-build-action action to v2.11.1 2023-12-20 06:42:17 +00:00