From a846b2a706c4968dd8b0fc8d343f2181afbc6f19 Mon Sep 17 00:00:00 2001 From: Wes Date: Mon, 13 Jul 2026 11:30:50 -0600 Subject: [PATCH] ci(mobile): compile Android debug APK Catch Android Gradle and Flutter toolchain incompatibilities in the existing mobile CI job without introducing signing or publishing. Expose the build as a Just recipe shared by local development and CI, and treat edits to the workflow itself as mobile changes so the gate validates its configuration. Co-authored-by: Pinky <44b8e82baa6e0e254e0208d68f335c283c94e7b78dd1fa10d5a49d3f13dd0435@sprout-oss.stage.blox.sqprod.co> Signed-off-by: Wes --- .github/workflows/ci.yml | 3 +++ Justfile | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6d8b5d378..d1906a7cf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,6 +54,7 @@ jobs: - 'pnpm-lock.yaml' mobile: - 'mobile/**' + - '.github/workflows/ci.yml' rust-lint: name: Rust Lint @@ -734,6 +735,8 @@ jobs: run: cd mobile && flutter analyze - name: Test run: cd mobile && flutter test + - name: Build Android debug APK + run: just mobile-build-android security: name: Security diff --git a/Justfile b/Justfile index 95fcb64ff..d49369b2f 100644 --- a/Justfile +++ b/Justfile @@ -446,6 +446,10 @@ mobile-check: mobile-test: unset GIT_DIR GIT_WORK_TREE; cd {{mobile_dir}} && flutter test +# Compile an unsigned Android debug APK +mobile-build-android: + unset GIT_DIR GIT_WORK_TREE; cd {{mobile_dir}} && flutter build apk --debug --no-pub + # Run the mobile app on iOS simulator mobile-dev: #!/usr/bin/env bash