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
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:
3 files changed
+37
-21
No files matched your search
@@ -4,10 +4,10 @@
|
||||
# unit tests run — `:core`'s suite is in `tests.yml`, where no SDK is needed
|
||||
# because `settings.gradle.kts` leaves `:app` out when there is none.
|
||||
#
|
||||
# The Glyph Matrix AAR is deliberately *not* fetched: its licence forbids
|
||||
# redistribution, and `app/build.gradle.kts` compiles the `noglyph` source set
|
||||
# without it. A CI APK therefore has an inert rear display, which is also exactly
|
||||
# right for any phone that is not a Nothing.
|
||||
# The Glyph Matrix AAR is not committed (its licence forbids redistribution), so
|
||||
# the job runs `android/fetch-glyph-sdk.sh` to download it from Nothing before
|
||||
# Gradle configures the app. That means the APK this produces really has the
|
||||
# rear-display implementation compiled in, rather than the no-op fallback.
|
||||
name: android
|
||||
|
||||
on:
|
||||
@@ -32,6 +32,13 @@ jobs:
|
||||
apt-get install -y --no-install-recommends \
|
||||
openjdk-21-jdk-headless curl unzip >/dev/null
|
||||
|
||||
# The AAR is git-ignored but required for a Glyph-enabled build. The
|
||||
# script exits non-zero if the download is not a real archive, so a vendor
|
||||
# URL that moves fails the job instead of quietly producing a no-op APK.
|
||||
- name: Fetch the Glyph Matrix SDK
|
||||
working-directory: android
|
||||
run: ./fetch-glyph-sdk.sh
|
||||
|
||||
# Keyed on the pinned SDK versions, so this is a download once and a
|
||||
# restore every time after.
|
||||
- uses: actions/cache@v4
|
||||
|
||||
Reference in new issue
Block a user