@@ -27,18 +27,15 @@ jobs:
2727 outputs :
2828 build_number : ${{ steps.set.outputs.build_number }}
2929
30- build-and-test :
31- name : Build and test iOS app
30+ build :
31+ name : Build iOS app
3232 needs : computed
3333 # https://github.com/actions/runner-images/blob/main/images/macos/macos-15-arm64-Readme.md
3434 runs-on : macos-15
3535 timeout-minutes : 180
3636 env :
3737 PERF_TEST : true
3838 FLUTTER_BUILD_NUMBER : ${{ needs.computed.outputs.build_number }}
39- # Because iPhone simulator on GitHub Actions is not reliable, and caused a lot of test failures,
40- # we run only 1 benchmark to validate the build.
41- BENCHMARK_IDS : " image_classification_v2"
4239 WITH_APPLE : 1
4340 WITH_TFLITE : 1
4441 WITH_PIXEL : 0
5451 FIREBASE_MESSAGING_SENDER_ID : ${{ secrets.FIREBASE_MESSAGING_SENDER_ID }}
5552 FIREBASE_DATABASE_URL : ${{ secrets.FIREBASE_DATABASE_URL }}
5653 FIREBASE_STORAGE_BUCKET : ${{ secrets.FIREBASE_STORAGE_BUCKET }}
57- FIREBASE_CI_USER_EMAIL : ${{ secrets.FIREBASE_CI_USER_EMAIL }}
58- FIREBASE_CI_USER_PASSWORD : ${{ secrets.FIREBASE_CI_USER_PASSWORD }}
5954 FIREBASE_CRASHLYTICS_ENABLED : false
6055 steps :
6156 - name : Checkout
@@ -105,23 +100,6 @@ jobs:
105100 - name : Run iOS unit tests
106101 run : |
107102 make flutter/test/unit
108- - name : Build iOS integration tests
109- run : |
110- cd flutter && flutter --no-version-check build ios --simulator integration_test/first_test.dart
111- - name : Setup iOS simulator
112- env :
113- DEVICE_NAME : " iPhone 16 Pro"
114- RUNTIME_SDK : " iphonesimulator18.5"
115- run : |
116- cd flutter/ios/ci_scripts/ && bash setup_simulator.sh
117- open -a Simulator
118- - uses : nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
119- name : Run iOS integration tests
120- with :
121- timeout_minutes : 120
122- max_attempts : 2
123- command : |
124- make flutter/test/integration
125103 - name : Build iOS test package
126104 env :
127105 DEVELOPMENT_TEAM : ${{ secrets.APPLE_DEVELOPMENT_TEAM }}
@@ -144,7 +122,7 @@ jobs:
144122 name : ${{ matrix.backend }}-${{ matrix.device }}
145123 needs :
146124 - computed
147- - build-and-test
125+ - build
148126 runs-on : ubuntu-22.04
149127 timeout-minutes : 60
150128 strategy :
0 commit comments