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