Ricki Hirner
9754770238
[CI] Fix pre-populating configuration cache
2025-12-18 10:36:29 +01:00
Ricki Hirner
6be15fd366
[CI] Actually use configuration cache ( #1891 )
...
* Cache configurations per job
* Use separate job for Dependency submission
* Use GRADLE_OPTS to enable build and configuration cache
* Test .android
* Cache .android for configuration cache
* Disable CodeQL for PRs
* Fix AVD path
2025-12-18 10:27:01 +01:00
Ricki Hirner
0cb27f0c2f
[CI] Add gradle remote build cache ( bitfireAT/davx5#752 )
...
* [CI] Add gradle remote build cache
* Update workflow
* Don't cache local build cache; pre-populate configuration cache
* Allow configuration caching of tasks
* Free some disk space before running instrumented tests; cache whole .android (not only .android/avd)
* Allow branches to update configuration cache
* Use dry run to pre-populate configuration cache
* Test runs: don't cache
* Fix remote build cache configuration for non-CI builds
* Add comment
2025-12-17 18:06:17 +01:00
dependabot[bot]
01f54df3c0
[CI] Bump actions/cache from 4 to 5 in the ci-actions group ( #1886 )
...
Bumps the ci-actions group with 1 update: [actions/cache](https://github.com/actions/cache ).
Updates `actions/cache` from 4 to 5
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: ci-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-16 13:38:54 +01:00
Ricki Hirner
24e0a864bd
Update AVD caching in CI workflow ( #1865 )
...
- Split AVD cache handling into restore and save steps
- Add condition to save AVD cache only if restore misses
2025-12-05 16:25:25 +01:00
dependabot[bot]
66a34ebd9f
[CI] Bump actions/checkout from 5 to 6 in the ci-actions group ( #1837 )
...
Bumps the ci-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout ).
Updates `actions/checkout` from 5 to 6
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: ci-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-24 16:00:24 +01:00
Ricki Hirner
19458aa95c
Delete .github/workflows/dependent-issues.yml
...
Obsoleted by https://github.blog/changelog/2025-08-21-dependencies-on-issues/
2025-10-26 12:23:31 +01:00
dependabot[bot]
019d32a9b7
[CI] Bump github/codeql-action from 3 to 4 in the ci-actions group ( #1749 )
...
Bumps the ci-actions group with 1 update: [github/codeql-action](https://github.com/github/codeql-action ).
Updates `github/codeql-action` from 3 to 4
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: '4'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: ci-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-13 20:04:01 +02:00
dependabot[bot]
df56c8628a
[CI] Bump gradle/actions from 4 to 5 in the ci-actions group ( #1736 )
...
Bumps the ci-actions group with 1 update: [gradle/actions](https://github.com/gradle/actions ).
Updates `gradle/actions` from 4 to 5
- [Release notes](https://github.com/gradle/actions/releases )
- [Commits](https://github.com/gradle/actions/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: gradle/actions
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: ci-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-06 17:08:39 +02:00
dependabot[bot]
8e67db7d54
[CI] Bump actions/setup-java from 4 to 5 ( #1672 )
...
Bumps [actions/setup-java](https://github.com/actions/setup-java ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-java/releases )
- [Commits](https://github.com/actions/setup-java/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-java
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-26 10:10:21 +02:00
dependabot[bot]
f21c3de94a
[CI] Bump actions/checkout from 4 to 5 ( #1664 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-19 13:54:15 +02:00
Ricki Hirner
82ccf6a2f9
Update workflows to use build cache; don't reduce error level for configuration cache problems anymore
2025-06-29 16:23:56 +02:00
Ricki Hirner
80cfe1013d
[CI] Don't generate a new discussion thread for every release
...
Updates will be posted in major release thread manually
2025-06-29 15:28:23 +02:00
Ricki Hirner
57ef059099
[CI] Also run tests on push to main branch
2025-05-21 11:59:12 +02:00
Ricki Hirner
469c30b511
[CI] Run tests on pull requests instead of git pushes ( #1479 )
...
* [CI] Run tests on pull requests instead of git pushes
* Add comment to PR trigger in test-dev.yml
* Update concurrency group for development tests
2025-05-21 11:30:24 +02:00
Ricki Hirner
50cbac147e
[CI] Use if: !cancelled() instead of if: always() ( #1266 )
...
To make jobs cancellable,
see https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/evaluate-expressions-in-workflows-and-actions#always
2025-01-27 13:02:38 +01:00
Ricki Hirner
b5790bfd09
Update dependencies and gradle wrapper
2024-11-20 16:11:40 +01:00
Ricki Hirner
a1148613e9
[CI] Update workflows to Java 21
2024-10-02 13:08:11 +02:00
Ricki Hirner
f8fb016a27
[CI] Better test names
2024-09-06 11:29:15 +02:00
Ricki Hirner
2908bba298
[CI] Compile job: only compile sources, not tests
2024-08-21 12:01:22 +02:00
Ricki Hirner
4378bee042
[CI] Skip compile job when not on main branch ( #978 )
2024-08-13 13:19:17 +02:00
Ricki Hirner
54e09acca3
Don't generate/let Gradle user cache grow in main branch
2024-08-06 11:26:46 +02:00
Ricki Hirner
6b6573ddd2
[CI] Don't run lint/unit tests on release variant
2024-06-29 10:05:59 +02:00
Ricki Hirner
5497e343c0
Add Github dependency graph
2024-06-27 18:46:14 +02:00
Ricki Hirner
479a2c363a
Optimize build cache; use Gradle 8.8
2024-06-27 18:22:14 +02:00
Arnau Mora
18b1e5222e
Fix GMD tests ( #867 )
...
* Run CI
Signed-off-by: Arnau Mora Gras <arnyminerz@proton.me >
* Changed GPU to swiftshader
Signed-off-by: Arnau Mora Gras <arnyminerz@proton.me >
* Added more options
Signed-off-by: Arnau Mora Gras <arnyminerz@proton.me >
* Cleaning managed devices
Signed-off-by: Arnau Mora Gras <arnyminerz@proton.me >
* Removed cleanup of GMD
Signed-off-by: Arnau Mora Gras <arnyminerz@proton.me >
* Cleaning cache
Signed-off-by: Arnau Mora Gras <arnyminerz@proton.me >
* Removed app clean
Signed-off-by: Arnau Mora Gras <arnyminerz@proton.me >
* Removal of cached system image
Signed-off-by: Arnau Mora Gras <arnyminerz@proton.me >
* Got rid of cached image removal
Signed-off-by: Arnau Mora Gras <arnyminerz@proton.me >
* Disabled build cache
Signed-off-by: Arnau Mora Gras <arnyminerz@proton.me >
* Disabled configuration cache
Signed-off-by: Arnau Mora Gras <arnyminerz@proton.me >
* Changed run command
Signed-off-by: Arnau Mora Gras <arnyminerz@proton.me >
* Downgrade AGP
Signed-off-by: Arnau Mora Gras <arnyminerz@proton.me >
* Restore to original
Signed-off-by: Arnau Mora Gras <arnyminerz@proton.me >
* Upgrade AGP again
Signed-off-by: Arnau Mora Gras <arnyminerz@proton.me >
* Add setupTimeoutMinutes=180 option
* Use large runner
* Update gradle, add maxConcurrentDevices=1
* Remove maxConcurrentDevices=1 again
* Use gradle 8.7 again, clean caches before
* Create "compile" task that caches dependencies etc.
* Don't use incremental build cache anymore
---------
Signed-off-by: Arnau Mora Gras <arnyminerz@proton.me >
Co-authored-by: Ricki Hirner <hirner@bitfire.at >
2024-06-27 18:12:55 +02:00
Ricki Hirner
4823d6d671
[CI] Update gh-release action
2024-06-05 11:45:10 +02:00
Ricki Hirner
cd8023b24b
[CI] Make sure concurrency name doesn't have spaces
2024-04-12 17:18:27 +02:00
Ricki Hirner
dd08415c84
[CI] Improve caching behavior
2024-04-10 13:54:23 +02:00
Ricki Hirner
1cd0df1e6a
Rename dev-ose branch to main-ose
2024-04-09 18:16:10 +02:00
Ricki Hirner
b72cc7f9fb
[CI] Fix test workflows (main branch condition, cache names)
2024-04-09 17:44:18 +02:00
Ricki Hirner
30d4aa2e73
[CI] Fix tests
2024-04-09 10:33:38 +02:00
Ricki Hirner
7b2f14d148
Use normal runner for tests with emulator
...
See https://github.blog/changelog/2024-04-02-github-actions-hardware-accelerated-android-virtualization-now-available/
2024-04-03 12:38:56 +02:00
Ricki Hirner
06e7eeb391
Don't use Gradle build and configuration cache for releases ( #662 )
...
* Don't use Gradle build and configuration cache for releases
- don't enable Gradle build and configuration cache for the project, but recommend it for the developer
- explicitly enable Gradle build and configuration cache for CI test jobs
- let AboutLibraries generate lib definitions itself again
- also don't archive test results (sometimes fails and we never use the results)
* Add encryption key for gradle cache
* Only warn on configuration cache problems (caused by AboutLibraries)
2024-03-20 15:29:21 +01:00
Ricki Hirner
6f08901f04
Add permissions for CI Github release action to allow creating a discussion
2024-03-04 17:04:11 +01:00
Ricki Hirner
e3485ec3ec
Use gradle-managed device for testing ( #609 )
2024-03-01 20:15:45 +01:00
Ricki Hirner
4c1d9d21bd
Releases: generate release notes and discussion thread automatially ( #596 )
2024-02-26 12:41:04 +01:00
Ricki Hirner
94226aac1f
Update dependencies, CI actions, test emulator API level
2024-02-07 11:01:34 +01:00
Ricki Hirner
53a446bcf9
[CI] Update Github actions
2024-02-02 13:50:18 +01:00
Arnau Mora
a9a699c5b9
Moved to gradle/actions/setup-gradle@v3 ( #549 )
...
Signed-off-by: Arnau Mora Gras <arnyminerz@proton.me >
2024-01-30 17:12:32 +01:00
Ricki Hirner
46a8f0f205
Add Dependent issues workflow
2024-01-11 17:35:17 +01:00
Ricki Hirner
320fe1dfd8
Compile releases without build and configuration cache
2023-12-25 15:50:54 +01:00
Ricki Hirner
f8b1cd5b3c
Correctly save app/build and configuration cache for dev branch builds
2023-12-03 16:59:11 +01:00
Ricki Hirner
fb7658cfaa
AboutLibraries: explicitly export library definitions at release ( #485 )
...
Export library definitions for release
2023-12-03 16:20:35 +01:00
Ricki Hirner
8ddd3d66f0
Version bump to 4.3.11-alpha.2, CI: hopefully speed up release workflow
2023-11-20 14:28:41 +01:00
Ricki Hirner
90c72ec013
Cache app/build to speed up builds
2023-11-17 16:12:05 +01:00
Ricki Hirner
bc7a320916
Don't start multiple tests for PRs
2023-09-12 13:03:15 +02:00
Ricki Hirner
6a2c366358
Update dependencies; CI: don't checkout submodules
2023-06-28 22:42:24 +02:00
Ricki Hirner
8923f9b1ad
Fix workflow concurrency
2023-05-17 22:15:49 +02:00
Ricki Hirner
e60723042b
Cancel running actions for previous commits if there are new pushes on the same branch/tag
2023-05-17 18:24:15 +02:00