Skip to content

️🛠 - Mobile CI target for feature-flagged compilation #81

@maxwellmattryan

Description

@maxwellmattryan

Description

Add continuous integration checks to ensure the mobile Rust target continues to compile as desktop development proceeds. Without CI validation, desktop PRs will silently break mobile compilation by introducing desktop-only code in shared modules.

Scope:

  • Add a GitHub Actions job that runs on every PR touching src-tauri/:
    • cargo check --target aarch64-apple-ios --no-default-features --features mobile
  • Optionally add Android target check (requires Android NDK in CI):
    • cargo check --target aarch64-linux-android --no-default-features --features mobile
  • Install required Rust targets in CI: rustup target add aarch64-apple-ios aarch64-linux-android
  • Ensure the CI job fails fast and provides clear error messages indicating which code broke mobile compilation

Dependencies: Requires #48 (feature-flag desktop-only code) to be complete first.

Key files:

Open questions

  • Should this be a separate workflow or added to an existing CI workflow?
  • Is the Android NDK available in GitHub Actions macOS runners, or does it need explicit setup?
  • Should the CI also run cargo test for mobile target, or just cargo check?

Acceptance criteria

Tasks

TBD

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions