@@ -117,7 +117,6 @@ task:
117
117
env :
118
118
INTEGRATION_TEST_PATH : " ./packages/integration_test"
119
119
upgrade_script :
120
- - sudo gem install cocoapods
121
120
- flutter channel stable
122
121
- flutter upgrade
123
122
- flutter channel master
@@ -135,43 +134,11 @@ task:
135
134
- xvfb-run ./script/incremental_build.sh drive-examples --linux
136
135
137
136
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.
140
137
# don't run on release tags since it creates O(n^2) tasks where n is the number of plugins
141
138
only_if : $CIRRUS_TAG == ''
142
139
use_compute_credits : $CIRRUS_USER_COLLABORATOR == 'true'
143
140
osx_instance :
144
141
image : catalina-xcode-11.3.1-flutter
145
- upgrade_script :
146
- - flutter channel stable
147
- - flutter upgrade
148
- - flutter channel master
149
- - flutter upgrade
150
- - git fetch origin master
151
- activate_script : pub global activate flutter_plugin_tools
152
- create_simulator_script :
153
- - xcrun simctl list
154
- - xcrun simctl create Flutter-iPhone com.apple.CoreSimulator.SimDeviceType.iPhone-X com.apple.CoreSimulator.SimRuntime.iOS-13-3 | xargs xcrun simctl boot
155
- matrix :
156
- - name : lint_darwin_plugins
157
- env :
158
- matrix :
159
- PLUGIN_SHARDING : " --shardIndex 0 --shardCount 2"
160
- PLUGIN_SHARDING : " --shardIndex 1 --shardCount 2"
161
- script :
162
- # TODO(jmagman): Lint macOS podspecs but skip any that fail library validation.
163
- - find . -name "*.podspec" | xargs grep -l "osx" | xargs rm
164
- # Skip the dummy podspecs used to placate the tool.
165
- - find . -name "*_web*.podspec" -o -name "*_mac*.podspec" | xargs rm
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
142
upgrade_script :
176
143
- sudo gem install cocoapods
177
144
- flutter channel stable
@@ -182,7 +149,7 @@ task:
182
149
activate_script : pub global activate flutter_plugin_tools
183
150
create_simulator_script :
184
151
- 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
152
+ - xcrun simctl create Flutter-iPhone com.apple.CoreSimulator.SimDeviceType.iPhone-X com.apple.CoreSimulator.SimRuntime.iOS-13 -3 | xargs xcrun simctl boot
186
153
matrix :
187
154
- name : build_all_plugins_ipa
188
155
env :
@@ -195,6 +162,17 @@ task:
195
162
- if [[ "$CHANNEL" -eq "stable" ]]; then find . | grep _web$ | xargs rm -rf; fi
196
163
- flutter channel $CHANNEL
197
164
- ./script/build_all_plugins_app.sh ios --no-codesign
165
+ - name : lint_darwin_plugins
166
+ env :
167
+ matrix :
168
+ PLUGIN_SHARDING : " --shardIndex 0 --shardCount 2"
169
+ PLUGIN_SHARDING : " --shardIndex 1 --shardCount 2"
170
+ script :
171
+ # TODO(jmagman): Lint macOS podspecs but skip any that fail library validation.
172
+ - find . -name "*.podspec" | xargs grep -l "osx" | xargs rm
173
+ # Skip the dummy podspecs used to placate the tool.
174
+ - find . -name "*_web*.podspec" -o -name "*_mac*.podspec" | xargs rm
175
+ - ./script/incremental_build.sh podspecs
198
176
- name : build-ipas+drive-examples
199
177
env :
200
178
PATH : $PATH:/usr/local/bin
@@ -215,13 +193,13 @@ task:
215
193
- flutter channel $CHANNEL
216
194
- ./script/incremental_build.sh build-examples --ipa
217
195
- ./script/incremental_build.sh drive-examples
218
- - ./script/incremental_build.sh xctest --target RunnerUITests --skip $PLUGINS_TO_SKIP_XCTESTS --ios-destination "platform=iOS Simulator,name=iPhone 11,OS=14.3"
196
+ - ./script/incremental_build.sh xctest --target RunnerUITests --skip $PLUGINS_TO_SKIP_XCTESTS
219
197
task :
220
198
# don't run on release tags since it creates O(n^2) tasks where n is the number of plugins
221
199
only_if : $CIRRUS_TAG == ''
222
200
use_compute_credits : $CIRRUS_USER_COLLABORATOR == 'true'
223
201
osx_instance :
224
- image : big-sur- xcode-12.3
202
+ image : catalina- xcode-11.3.1-flutter
225
203
setup_script :
226
204
- flutter config --enable-macos-desktop
227
205
upgrade_script :
0 commit comments