Cache everything CI can, and credit both authors

The repo is private, so each run is billed. Three caches now carry a rebuild:
Gradle's own through setup-gradle (dependencies, build cache, configuration
cache), the CMake/ninja tree keyed on the C sources and the NDK, and the two
cross-compiled preloads — the last of which also skips installing the cross
toolchain, since a run that changes only Kotlin has no reason to touch a C
compiler. Superseded pushes are cancelled, documentation pushes do not build,
and the apk is stored rather than recompressed.

The preload assertions moved from the cross binutils to readelf, which reads
any ELF whatever the host, so they keep running on a cache hit.

Credits name The412Banner and maxjivi05: the runtime under all of this is
Max's gamescope work from WinNative.
This commit is contained in:
The412Banner committed 2026-09-19 14:07:06 -04:00
1 parent 97ee688eff
commit 4031f512fc
6 files changed
+122 -32

No files matched your search

+7
View File
@@ -1,4 +1,11 @@
org.gradle.jvmargs=-Xmx4096m -Dfile.encoding=UTF-8
# CI is the only thing that builds this repo and its minutes are billed, so every cache Gradle
# offers is on: task outputs are reused across runs from the cache the CI action restores, the
# configuration phase is skipped when nothing about the build scripts changed, and independent
# tasks run together.
org.gradle.caching=true
org.gradle.configuration-cache=true
org.gradle.parallel=true
android.useAndroidX=true
android.nonTransitiveRClass=true
# The NDK the compositor is built with. CI passes the one the runner has installed