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>
This commit is contained in:
Fizz
2026-10-19 15:33:10 -07:00
parent 91b1cc4761
commit f7d93c4be5
2 changed files with 6 additions and 2 deletions

View File

@@ -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: |

View File

@@ -87,6 +87,7 @@ jobs:
- 'web/**'
- 'pnpm-lock.yaml'
mobile:
- '.github/workflows/_ci-clients.yml'
- 'mobile/**'
- 'Justfile'
- 'scripts/test-mobile-gateway-recipes.sh'