@@ -117,6 +117,7 @@ task:
117117 env :
118118 INTEGRATION_TEST_PATH : " ./packages/integration_test"
119119 upgrade_script :
120+ - sudo gem install cocoapods
120121 - flutter channel stable
121122 - flutter upgrade
122123 - flutter channel master
@@ -134,13 +135,14 @@ task:
134135 - xvfb-run ./script/incremental_build.sh drive-examples --linux
135136
136137task :
138+ # Xcode 11 task
139+ # TODO(cyanglaz): merge Xcode 11 task to Xcode 12 task when all the matrix can be run in Xcode 12.
137140 # don't run on release tags since it creates O(n^2) tasks where n is the number of plugins
138141 only_if : $CIRRUS_TAG == ''
139142 use_compute_credits : $CIRRUS_USER_COLLABORATOR == 'true'
140143 osx_instance :
141144 image : catalina-xcode-11.3.1-flutter
142145 upgrade_script :
143- - sudo gem install cocoapods
144146 - flutter channel stable
145147 - flutter upgrade
146148 - flutter channel master
@@ -151,17 +153,6 @@ task:
151153 - xcrun simctl list
152154 - xcrun simctl create Flutter-iPhone com.apple.CoreSimulator.SimDeviceType.iPhone-X com.apple.CoreSimulator.SimRuntime.iOS-13-3 | xargs xcrun simctl boot
153155 matrix :
154- - name : build_all_plugins_ipa
155- env :
156- matrix :
157- CHANNEL : " master"
158- CHANNEL : " stable"
159- script :
160- # TODO(jackson): Allow web plugins once supported on stable
161- # https://github.com/flutter/flutter/issues/42864
162- - if [[ "$CHANNEL" -eq "stable" ]]; then find . | grep _web$ | xargs rm -rf; fi
163- - flutter channel $CHANNEL
164- - ./script/build_all_plugins_app.sh ios --no-codesign
165156 - name : lint_darwin_plugins
166157 env :
167158 matrix :
@@ -173,6 +164,37 @@ task:
173164 # Skip the dummy podspecs used to placate the tool.
174165 - find . -name "*_web*.podspec" -o -name "*_mac*.podspec" | xargs rm
175166 - ./script/incremental_build.sh podspecs
167+
168+ task :
169+ # Xcode 12 task
170+ # don't run on release tags since it creates O(n^2) tasks where n is the number of plugins
171+ only_if : $CIRRUS_TAG == ''
172+ use_compute_credits : $CIRRUS_USER_COLLABORATOR == 'true'
173+ osx_instance :
174+ image : big-sur-xcode-12.3
175+ upgrade_script :
176+ - sudo gem install cocoapods
177+ - flutter channel stable
178+ - flutter upgrade
179+ - flutter channel master
180+ - flutter upgrade
181+ - git fetch origin master
182+ activate_script : pub global activate flutter_plugin_tools
183+ create_simulator_script :
184+ - xcrun simctl list
185+ - xcrun simctl create Flutter-iPhone com.apple.CoreSimulator.SimDeviceType.iPhone-11 com.apple.CoreSimulator.SimRuntime.iOS-14-3 | xargs xcrun simctl boot
186+ matrix :
187+ - name : build_all_plugins_ipa
188+ env :
189+ matrix :
190+ CHANNEL : " master"
191+ CHANNEL : " stable"
192+ script :
193+ # TODO(jackson): Allow web plugins once supported on stable
194+ # https://github.com/flutter/flutter/issues/42864
195+ - if [[ "$CHANNEL" -eq "stable" ]]; then find . | grep _web$ | xargs rm -rf; fi
196+ - flutter channel $CHANNEL
197+ - ./script/build_all_plugins_app.sh ios --no-codesign
176198 - name : build-ipas+drive-examples
177199 env :
178200 PATH : $PATH:/usr/local/bin
@@ -193,13 +215,13 @@ task:
193215 - flutter channel $CHANNEL
194216 - ./script/incremental_build.sh build-examples --ipa
195217 - ./script/incremental_build.sh drive-examples
196- - ./script/incremental_build.sh xctest --target RunnerUITests --skip $PLUGINS_TO_SKIP_XCTESTS
218+ - ./script/incremental_build.sh xctest --target RunnerUITests --skip $PLUGINS_TO_SKIP_XCTESTS --ios-destination "platform=iOS Simulator,name=iPhone 11,OS=14.3"
197219task :
198220 # don't run on release tags since it creates O(n^2) tasks where n is the number of plugins
199221 only_if : $CIRRUS_TAG == ''
200222 use_compute_credits : $CIRRUS_USER_COLLABORATOR == 'true'
201223 osx_instance :
202- image : catalina- xcode-11.3.1-flutter
224+ image : big-sur- xcode-12.3
203225 setup_script :
204226 - flutter config --enable-macos-desktop
205227 upgrade_script :
0 commit comments