include glyph sdk to release build
tests / backend (push) Successful in 37s
tests / desktop (push) Successful in 21s
lint / ruff (push) Successful in 1m0s
tests / web (push) Successful in 32s
docker / image (push) Failing after 1m34s
tests / android-core (push) Successful in 7m13s
android / apk (push) Successful in 12m36s

This commit is contained in:
timka123 committed 2026-10-22 19:25:44 +03:00
1 parent 8c260feb78
commit 2aaa58af0b
3 files changed
+37 -21

No files matched your search

+8 -5
View File
@@ -299,7 +299,7 @@ Secrets, all under *Repository → Settings → Actions → Secrets*:
| Secret | For |
| --- | --- |
| `REGISTRY_TOKEN` | only when the built-in `GITEA_TOKEN` cannot push to the Gitea registry (older Gitea, or restricted token permissions); `package:write` is needed. `REGISTRY_USER` is optional and defaults to the repository owner |
| `REGISTRY_TOKEN` | publishing the image: **a personal access token with `package:write`**. Gitea's built-in `GITEA_TOKEN` is read-only for packages, so it cannot be used here. `REGISTRY_USER` is optional and defaults to the repository owner. Without this secret the `docker` workflow still builds and smoke-tests the image, but skips the push |
| `KADENCE_KEYSTORE_BASE64` | `base64 -w0 your.keystore` |
| `KADENCE_KEYSTORE_PASSWORD`, `KADENCE_KEY_ALIAS`, `KADENCE_KEY_PASSWORD` | the key inside it |
@@ -310,10 +310,13 @@ secret **fail the build**: the Gradle config otherwise falls back to the debug k
without a word, and a debug-signed "release" installs happily and can then never
be upgraded by a properly signed one.
The Glyph Matrix AAR is deliberately not fetched in CI — its licence forbids
redistribution, and the build compiles the `noglyph` source set without it, so a
CI APK has an inert rear display. That is also the correct behaviour on any phone
that is not a Nothing.
The Glyph Matrix AAR is not committed — its licence forbids redistribution — so
the APK job runs `android/fetch-glyph-sdk.sh` before Gradle configures the app,
downloading it from Nothing's developer kit. The resulting CI APK therefore
contains the real rear-display implementation; the `noglyph` no-op fallback is
only used for local builds where the AAR has not been fetched. Because the
licence forbids redistribution, the downloaded AAR stays out of the artifacts:
only the finished APK is uploaded.
---