diff --git a/.gitea/workflows/build-and-test.yml b/.gitea/workflows/build-and-test.yml index 467fa17..e1dd17d 100644 --- a/.gitea/workflows/build-and-test.yml +++ b/.gitea/workflows/build-and-test.yml @@ -94,8 +94,15 @@ jobs: target-android key: android-${{ hashFiles('**/Cargo.lock') }} - # Only the core crates cross-compile today; the UI and app crates join - # once the Android shell exists (milestone v0.1, FR-PLAT-AND-*). + # A fast gate on the crates most likely to break the cross-compile, run + # before the expensive part. It is `cargo check`, so it type-checks + # without linking and returns in a fraction of the time the step below + # takes. + # + # Not a statement that only these crates cross-compile — `darkroom-android` + # and the whole UI stack beneath it build for aarch64 too, which is what + # the API-level step below does. This one exists to fail fast and name a + # smaller suspect when it does. - name: Cross-compile core env: CARGO_TARGET_DIR: target-android