mirror of
https://github.com/block/buzz.git
synced 2026-11-01 15:01:12 +00:00
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:
7
.github/workflows/_ci-clients.yml
vendored
7
.github/workflows/_ci-clients.yml
vendored
@@ -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: |
|
||||
|
||||
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@@ -87,6 +87,7 @@ jobs:
|
||||
- 'web/**'
|
||||
- 'pnpm-lock.yaml'
|
||||
mobile:
|
||||
- '.github/workflows/_ci-clients.yml'
|
||||
- 'mobile/**'
|
||||
- 'Justfile'
|
||||
- 'scripts/test-mobile-gateway-recipes.sh'
|
||||
|
||||
Reference in New Issue
Block a user