From f7d93c4be5dbd9f13689c4fecfe2043a0c767ca7 Mon Sep 17 00:00:00 2001 From: Fizz <6be7be23ec5bba868f3e1db5ec86013d76bd1a293dce5b435a192158fec13641@buzz.block.builderlab.xyz> Date: Mon, 19 Oct 2026 15:33:10 -0700 Subject: [PATCH] ci(mobile): stop building the iOS simulator app twice The native lane ran a full `flutter build ios --simulator --debug`, then `xcodebuild test` rebuilt Pods and Runner from scratch. Generate the Xcode config and Pods with `--config-only` instead. The test step still builds and links Runner for the arm64 simulator, so the ML Kit link regression from #7646 stays covered. Also select the mobile lanes when `_ci-clients.yml` changes, so edits to the mobile CI workflow run the jobs they change. Signed-off-by: Fizz <6be7be23ec5bba868f3e1db5ec86013d76bd1a293dce5b435a192158fec13641@buzz.block.builderlab.xyz> --- .github/workflows/_ci-clients.yml | 7 +++++-- .github/workflows/ci.yml | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/_ci-clients.yml b/.github/workflows/_ci-clients.yml index b6673f74d3..b8fcb6a00b 100644 --- a/.github/workflows/_ci-clients.yml +++ b/.github/workflows/_ci-clients.yml @@ -210,9 +210,12 @@ jobs: - name: Test native pagination geometry if: matrix.lane == 'native' run: /bin/bash scripts/test-mobile-pagination.sh - - name: Build complete iOS simulator app + # Generate the Xcode config and Pods only. The xcodebuild test below + # builds and links the full simulator app, which catches simulator + # link regressions without a second full build. + - name: Prepare iOS simulator project if: matrix.lane == 'native' - run: cd mobile && flutter build ios --simulator --debug --no-pub + run: cd mobile && flutter build ios --config-only --simulator --debug --no-pub - name: Test native controls and push navigation bridge if: matrix.lane == 'native' run: | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be87fa4be4..1e9afe9dfa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -87,6 +87,7 @@ jobs: - 'web/**' - 'pnpm-lock.yaml' mobile: + - '.github/workflows/_ci-clients.yml' - 'mobile/**' - 'Justfile' - 'scripts/test-mobile-gateway-recipes.sh'