@@ -117,6 +117,7 @@ task:
117
117
env :
118
118
INTEGRATION_TEST_PATH : " ./packages/integration_test"
119
119
upgrade_script :
120
+ - sudo gem install cocoapods
120
121
- flutter channel stable
121
122
- flutter upgrade
122
123
- flutter channel master
@@ -134,13 +135,14 @@ task:
134
135
- xvfb-run ./script/incremental_build.sh drive-examples --linux
135
136
136
137
task :
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.
137
140
# don't run on release tags since it creates O(n^2) tasks where n is the number of plugins
138
141
only_if : $CIRRUS_TAG == ''
139
142
use_compute_credits : $CIRRUS_USER_COLLABORATOR == 'true'
140
143
osx_instance :
141
144
image : catalina-xcode-11.3.1-flutter
142
145
upgrade_script :
143
- - sudo gem install cocoapods
144
146
- flutter channel stable
145
147
- flutter upgrade
146
148
- flutter channel master
@@ -151,17 +153,6 @@ task:
151
153
- xcrun simctl list
152
154
- xcrun simctl create Flutter-iPhone com.apple.CoreSimulator.SimDeviceType.iPhone-X com.apple.CoreSimulator.SimRuntime.iOS-13-3 | xargs xcrun simctl boot
153
155
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
165
156
- name : lint_darwin_plugins
166
157
env :
167
158
matrix :
@@ -173,6 +164,37 @@ task:
173
164
# Skip the dummy podspecs used to placate the tool.
174
165
- find . -name "*_web*.podspec" -o -name "*_mac*.podspec" | xargs rm
175
166
- ./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
176
198
- name : build-ipas+drive-examples
177
199
env :
178
200
PATH : $PATH:/usr/local/bin
@@ -193,13 +215,13 @@ task:
193
215
- flutter channel $CHANNEL
194
216
- ./script/incremental_build.sh build-examples --ipa
195
217
- ./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"
197
219
task :
198
220
# don't run on release tags since it creates O(n^2) tasks where n is the number of plugins
199
221
only_if : $CIRRUS_TAG == ''
200
222
use_compute_credits : $CIRRUS_USER_COLLABORATOR == 'true'
201
223
osx_instance :
202
- image : catalina- xcode-11.3.1-flutter
224
+ image : big-sur- xcode-12.3
203
225
setup_script :
204
226
- flutter config --enable-macos-desktop
205
227
upgrade_script :
0 commit comments