@@ -117,7 +117,6 @@ task:
117117 env :
118118 INTEGRATION_TEST_PATH : " ./packages/integration_test"
119119 upgrade_script :
120- - sudo gem install cocoapods
121120 - flutter channel stable
122121 - flutter upgrade
123122 - flutter channel master
@@ -135,43 +134,11 @@ task:
135134 - xvfb-run ./script/incremental_build.sh drive-examples --linux
136135
137136task :
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.
140137 # don't run on release tags since it creates O(n^2) tasks where n is the number of plugins
141138 only_if : $CIRRUS_TAG == ''
142139 use_compute_credits : $CIRRUS_USER_COLLABORATOR == 'true'
143140 osx_instance :
144141 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
175142 upgrade_script :
176143 - sudo gem install cocoapods
177144 - flutter channel stable
@@ -182,7 +149,7 @@ task:
182149 activate_script : pub global activate flutter_plugin_tools
183150 create_simulator_script :
184151 - 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
186153 matrix :
187154 - name : build_all_plugins_ipa
188155 env :
@@ -195,6 +162,17 @@ task:
195162 - if [[ "$CHANNEL" -eq "stable" ]]; then find . | grep _web$ | xargs rm -rf; fi
196163 - flutter channel $CHANNEL
197164 - ./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
198176 - name : build-ipas+drive-examples
199177 env :
200178 PATH : $PATH:/usr/local/bin
@@ -215,13 +193,13 @@ task:
215193 - flutter channel $CHANNEL
216194 - ./script/incremental_build.sh build-examples --ipa
217195 - ./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
219197task :
220198 # don't run on release tags since it creates O(n^2) tasks where n is the number of plugins
221199 only_if : $CIRRUS_TAG == ''
222200 use_compute_credits : $CIRRUS_USER_COLLABORATOR == 'true'
223201 osx_instance :
224- image : big-sur- xcode-12.3
202+ image : catalina- xcode-11.3.1-flutter
225203 setup_script :
226204 - flutter config --enable-macos-desktop
227205 upgrade_script :
0 commit comments