Commit graph

46 commits

Author SHA1 Message Date
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>
2023-11-08 12:58:14 +00:00
Jorge Martin Espinosa
b57fddf19c
Lower max RAM usage for gradle to avoid CI issues (#1766) 2023-11-08 09:45:55 +00:00
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
2023-11-03 10:34:49 +01:00
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>
2023-10-06 10:04:43 +00:00
renovate[bot]
7a158f06b3
Update gradle/gradle-build-action action to v2.9.0 2023-10-01 01:04:40 +00:00
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>
2023-09-25 21:10:42 +02:00
renovate[bot]
870cd040d0
Update rnkdsh/action-upload-diawi action to v1.5.2 2023-09-25 08:03:26 +00:00
Benoit Marty
995d4e9f6d Just try using actions/checkout@v4 2023-09-11 14:51:12 +02:00
renovate[bot]
ff3fd793ff
Update actions/checkout action to v4 2023-09-04 12:50:03 +00:00
renovate[bot]
6596f5ec48
Update gradle/gradle-build-action action to v2.8.0 2023-08-28 19:24:00 +00:00
renovate[bot]
18f82c7329
Update gradle/gradle-build-action action to v2.7.1 2023-08-19 02:06:53 +00:00
Jorge Martín
ccacb118a1 Revert merge queue CI optimizations 2023-08-17 17:17:03 +02:00
Jorge Martín
99909e9b9f Fix concurrentcy group for building develop with a matrix of variants 2023-08-02 11:20:25 +02:00
Jorge Martín
a6d6869e55 Fix concurrentcy group for building develop 2023-08-02 11:19:28 +02:00
Jorge Martin Espinosa
b14c741422
CI improvements (#1012) 2023-07-31 21:05:28 +02:00
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
2023-07-31 15:19:51 +00:00
Jorge Martin Espinosa
9e85c74c9c
Try to fix using the merge queue (#1009) 2023-07-31 13:35:38 +00:00
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>
2023-07-25 08:07:48 +02:00
Benoit Marty
089fc8b4dd Ci will not ignore compilation warnings. 2023-07-20 15:29:47 +02:00
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
```
2023-07-20 14:29:06 +02:00
Benoit Marty
cbe1c05c0c Do not build main branch in this workflow. 2023-07-20 11:07:08 +02:00
Chris Smith
1d99189955
Merge pull request #886 from vector-im/feature/cjs/location-api-key 2023-07-18 15:32:54 +01:00
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>
2023-07-18 12:25:18 +02:00
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.
2023-07-17 16:09:53 +01:00
renovate[bot]
bff5c9874f
Update rnkdsh/action-upload-diawi action to v1.5.1 2023-07-16 21:03:31 +00:00
renovate[bot]
f43de1f496
Update gradle/gradle-build-action action to v2.6.0 2023-07-10 20:05:51 +00:00
renovate[bot]
d1cd3c243e Update gradle/gradle-build-action action to v2.5.1 2023-06-29 19:30:55 +00:00
renovate[bot]
37017a993c Update gradle/gradle-build-action action to v2.5.0 2023-06-28 22:27:46 +00:00
Benoit Marty
d366b40c47 Do not fail the whole build if Diawi upload fails 2023-06-27 16:16:11 +02:00
renovate[bot]
4b268dacd1 Update rnkdsh/action-upload-diawi action to v1.5.0 2023-05-26 20:47:47 +00:00
Benoit Marty
ad7bc5fecc Upgrade gradle/gradle-build-action to v2.4.2 2023-05-02 10:55:05 +02:00
Jorge Martin Espinosa
de010545fb Update Gradle to 8.1 and AGP to v8.0 (#329)
* Update AGP to 8.0.0.

* Set JAVA_HOME to JDK17

* Update lint version.

* Use right JDK for dependency analysis, replace deprecated env var.

* Upgrade to Gradle 8.1.

* Remove `@Supress(DSL_SCOPE_VIOLATION)` as it's no longer needed.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-17 08:49:52 +00:00
Jorge Martin Espinosa
7d3fd30d66 Disable Diawi when running from fork (#292) 2023-04-04 16:50:50 +02:00
Jorge Martin Espinosa
610e4aa8b6 Revert "Update Gradle and AGP to v8.0 (#283)" (#295)
This reverts commit cda0606a0d.
2023-04-04 14:44:01 +00:00
Jorge Martin Espinosa
cda0606a0d Update Gradle and AGP to v8.0 (#283)
* Update dependency gradle to v8

* Handle upgrading Gradle to v8.0.2

* Update AGP to 8.0.0-RC01

* Try to set JAVA_HOME to JDK17

* Update lint version.

* Use right JDK for dependency analysis, replace deprecated env var

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-03 18:02:34 +02:00
renovate[bot]
e7a53ac06b Update rnkdsh/action-upload-diawi action to v1.3.2 2023-03-18 17:40:36 +00:00
Benoit Marty
dfc9941e10 Ensure samples/minimal still compiles #195 2023-03-10 10:18:10 +01:00
Michael Kaye
7e0a284669 Use the gradle plugin (same usage as in element-android) to standardise caching.
This may or may not speed up build times.
2023-03-07 13:32:32 +00:00
dependabot[bot]
0cddffd896 Bump NejcZdovc/comment-pr from 1 to 2
Bumps [NejcZdovc/comment-pr](https://github.com/NejcZdovc/comment-pr) from 1 to 2.
- [Release notes](https://github.com/NejcZdovc/comment-pr/releases)
- [Commits](https://github.com/NejcZdovc/comment-pr/compare/v1...v2)

---
updated-dependencies:
- dependency-name: NejcZdovc/comment-pr
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-03 09:08:31 +00:00
Jorge Martin Espinosa
0523f61973 Try to run Diawi only for PRs (#124) 2023-03-02 18:08:57 +01:00
Benoit Marty
065daa4899 Split APK per ABI 2023-03-01 10:26:05 +01:00
Benoit Marty
6a6df72220 Setup Diawi to comment Pull Request with a QrCode to download the APK 2023-03-01 10:26:05 +01:00
Benoit Marty
9faeac1a44 Fix typo 2023-03-01 09:55:39 +01:00
Benoit Marty
e57635eede Build unmerged branch on pull request 2023-03-01 09:55:39 +01:00
Benoit Marty
71b71cc295 Add steps to check that release and nightly build can compile. 2023-01-18 11:26:11 +01:00
Benoit Marty
29137f8e9f Add Build workflow 2022-12-09 16:54:11 +01:00