Expose Iris benchmark in Dev Updater

This commit is contained in:
iris committed 2026-09-09 16:19:46 -04:00
1 parent fffed42f9e
commit f5183af306
2 files changed
+20 -5

No files matched your search

+14 -3
View File
@@ -17,9 +17,9 @@ label: "AI Sessions",
// three constants -- there is nothing here worth spawning a process for.
resources: Ron("resources.ron"),
// The two halves this checkout produces: the server a phone talks to, and
// the app that talks to it. They are built in parallel -- this list is the
// set, not a sequence, so nothing here should be read as an order.
// The server and three independently installable app surfaces this checkout
// produces. They are built in parallel -- this list is the set, not a
// sequence, so nothing here should be read as an order.
components: [
Server(
name: "server",
@@ -55,6 +55,17 @@ components: [
// the terminal the QR would be printed on.
enroll: "server/enroll-link.sh",
),
// The deterministic Rust/iris transcript benchmark. Its release build
// is arm64 by default and signed with the same machine-local key as the
// Compose app.
// `cwd` scopes APK discovery to app-rust, while commands containing a
// slash resolve from the project root, per Dev Updater's command model.
Apk(
name: "iris-bench",
modes: ["release", "debug"],
build: "app-rust/build-apk.sh",
cwd: "app-rust",
),
// E5 (RUST.md): app/shellApp packaged by the xtask instead of Gradle
// (cargo ndk -> javac -> d8 -> aapt2 -> zipalign -> apksigner), signed
// with the same release key as "app" above so the two can install