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

@@ -44,6 +44,13 @@ class MainActivity : Activity() {
playButton.setOnClickListener { startActivity(Intent(this, SessionActivity::class.java)) }
runtimeButton.setOnClickListener { onRuntimeButton() }
findViewById<TextView>(R.id.credits).setOnClickListener {
AlertDialog.Builder(this)
.setTitle(R.string.credits_title)
.setMessage(R.string.credits_body)
.setPositiveButton(android.R.string.ok, null)
.show()
}
// The session's logs land in Downloads so a failed run can be handed over as a folder
// rather than dug out of app-private storage. targetSdk 28 means the old permission still