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
Jorge Martin Espinosa
bbe1dc4952
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
2024-07-19 17:46:56 +02:00
Jorge Martin Espinosa
508b7e48e3
Only add private SSH keys and clone submodules in the original repo ( #3225 )
2024-07-19 17:25:49 +02:00
Benoit Marty
9a4ec53612
Do not clone submodules in forks.
2024-07-01 12:20:15 +02:00
Benoit Marty
1ba0399dbc
Run tests on Element Enterprise modules.
2024-06-26 11:59:44 +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
renovate[bot]
46107a9cff
Update kotlin to v0.8.0 ( #2854 )
...
* Update kotlin to v0.8.0
* Adapt our setup to `v0.8.0`'s changes
* Make sure verification tasks run on `check` tasks
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io >
2024-05-17 17:07:19 +02:00
Jorge Martin Espinosa
b488cbbfb8
Test and verify coverage only on debug variant ( #2556 )
...
* Test and verify coverage only on debug variant
* Set files to upload
* Fix also nightlyReports flow
2024-03-15 15:52:33 +01:00
Jorge Martin Espinosa
00f68a0f86
Revert "Clear and generate new cache only when merging to develop" ( #2550 )
...
This reverts commit 0473c4b5f0 .
2024-03-14 13:34:19 +01:00
Jorge Martin Espinosa
0473c4b5f0
Clear and generate new cache only when merging to develop ( #2549 )
...
Clearing the cache regularly doesn't work because on each new merge to develop a new cache of almost 4GB will be created and replace the 'cleared' one.
We can try doing a clean up to this cache we're about to save so it's a bit smaller.
2024-03-14 09:40:34 +01: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
Benoit Marty
2e2ecae1a6
Remove verbose flag, was added to get more details about an error.
2024-02-07 10:29:18 +01:00
Benoit Marty
cebfa6560a
Try to get more log from Codecov action.
2024-02-06 20:15:34 +01:00
Benoit Marty
a8123d717b
Merge pull request #2326 from element-hq/renovate/gradle-gradle-build-action-3.x
...
Update gradle/gradle-build-action action to v3
2024-02-01 15:43:01 +01:00
renovate[bot]
122c24e942
Update codecov/codecov-action action to v4 ( #2331 )
...
* Update codecov/codecov-action action to v4
* Add missing codecov token
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io >
2024-02-01 15:27:27 +01: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
b40d661acd
Kover: we need Xml report as well.
2024-01-09 17:15:37 +01:00
Benoit Marty
b727312040
Upgrade Kover to 0.7.5
2024-01-09 10:51:30 +01:00
renovate[bot]
fd53c587fe
Update gradle/gradle-build-action action to v2.11.1
2023-12-20 06:42:17 +00:00
renovate[bot]
4efed07ef7
Update actions/upload-artifact action to v4 ( #2034 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-14 18:58:03 +01:00
renovate[bot]
df21525177
Update gradle/gradle-build-action action to v2.11.0
2023-12-13 07:34:48 +00:00
renovate[bot]
4a95a49843
Update actions/setup-java action to v4
2023-11-29 16:04:07 +00:00
renovate[bot]
ece3969c39
Update gradle/gradle-build-action action to v2.10.0
2023-11-27 09:30:38 +00:00
renovate[bot]
dd57197f32
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 >
2023-11-08 12:58:14 +00:00
Jorge Martin Espinosa
bf4ce9f05a
Lower max RAM usage for gradle to avoid CI issues ( #1766 )
2023-11-08 09:45:55 +00:00
Jorge Martin Espinosa
3fc8f1aaec
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
2023-11-03 10:34:49 +01:00
renovate[bot]
3ecd2318f9
Update gradle/gradle-build-action action to v2.9.0
2023-10-01 01:04:40 +00:00
renovate[bot]
9c17ec2f2f
Update gradle/gradle-build-action action to v2.8.1 ( #1426 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-25 21:10:42 +02:00
Benoit Marty
47ea202de4
Revert "Update codecov/codecov-action action to v4"
2023-09-15 09:19:30 +02:00
renovate[bot]
96525e9126
Update codecov/codecov-action action to v4
2023-09-14 15:39:32 +00:00
jonnyandrew
11c1fca92e
[Rich text editor] Integrate rich text editor library ( #1172 )
...
* Integrate rich text editor
* Also increase swapfile size in test CI
Fixes issue where screenshot tests are terminated due to lack of CI
resources.
See https://github.com/actions/runner-images/discussions/7188#discussioncomment-6750749
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2023-09-07 15:21:29 +00:00
renovate[bot]
8bae51ff5e
Update gradle/gradle-build-action action to v2.8.0
2023-08-28 19:24:00 +00:00
renovate[bot]
091b2c1c44
Update gradle/gradle-build-action action to v2.7.1
2023-08-19 02:06:53 +00:00
Benoit Marty
387432dca1
Merge pull request #1073 from vector-im/renovate/app.cash.paparazzi-1.x
...
Update plugin paparazzi to v1.3.1
2023-08-18 15:07:51 +02:00
Benoit Marty
1706b6e91d
Remove failures artifact, the content is included in tests-and-screenshot-tests-results artifact (only one artifact to download).
2023-08-18 09:13:19 +02:00
Benoit Marty
8017579820
Remove report artifact, it is included in tests-and-screenshot-tests-results artifact.
2023-08-18 09:13:19 +02:00
Benoit Marty
4a10d5172e
Paparazzi 1.3.1 exports failure deltas from PROJECT_ROOT/out/failures/ to BUILD_DIR/paparazzi/failures/.
2023-08-18 09:13:19 +02:00
Benoit Marty
fec32b2d63
Merge pull request #1071 from vector-im/chore/jme/revert-merge-queue-optimizations
...
Revert merge queue CI optimizations
2023-08-17 20:52:16 +02:00
Jorge Martín
067921a6de
Revert merge queue CI optimizations
2023-08-17 17:17:03 +02:00
renovate[bot]
ebc53993cc
Update nschloe/action-cached-lfs-checkout action to v1.2.2
2023-08-10 08:26:25 +00:00
Jorge Martin Espinosa
89b1bba96e
CI improvements ( #1012 )
2023-07-31 21:05:28 +02:00
Jorge Martin Espinosa
ffdf005507
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
2023-07-31 15:19:51 +00:00
Jorge Martin Espinosa
a1dd524471
Try to fix using the merge queue ( #1009 )
2023-07-31 13:35:38 +00:00
renovate[bot]
015b98d818
Update gradle/gradle-build-action action to v2.7.0 ( #958 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-25 08:07:48 +02:00
renovate[bot]
e4a7fcc60c
Update gradle/gradle-build-action action to v2.6.1 ( #893 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-18 12:25:18 +02:00