@@ -47,17 +47,19 @@ flutter_upgrade_template: &FLUTTER_UPGRADE_TEMPLATE
47
47
- flutter doctor -v
48
48
<< : *TOOL_SETUP_TEMPLATE
49
49
50
- build_all_plugins_app_template : &BUILD_ALL_PLUGINS_APP_TEMPLATE
51
- create_all_plugins_app_script :
52
- - $PLUGIN_TOOL_COMMAND create-all-packages-app --output-dir=. --exclude script/configs/exclude_all_plugins_app.yaml
53
- build_all_plugins_debug_script :
50
+ # Ensures that the latest versions of all of the 1P packages can be used
51
+ # together. See script/configs/exclude_all_packages_app.yaml for exceptions.
52
+ build_all_packages_app_template : &BUILD_ALL_PACKAGES_APP_TEMPLATE
53
+ create_all_packages_app_script :
54
+ - $PLUGIN_TOOL_COMMAND create-all-packages-app --output-dir=. --exclude script/configs/exclude_all_packages_app.yaml
55
+ build_all_packages_debug_script :
54
56
- cd all_packages
55
57
- if [[ "$BUILD_ALL_ARGS" == "web" ]]; then
56
58
- echo "Skipping; web does not support debug builds"
57
59
- else
58
60
- flutter build $BUILD_ALL_ARGS --debug
59
61
- fi
60
- build_all_plugins_release_script :
62
+ build_all_packages_release_script :
61
63
- cd all_packages
62
64
- flutter build $BUILD_ALL_ARGS --release
63
65
@@ -117,13 +119,6 @@ task:
117
119
- else
118
120
- echo "Only run in presubmit"
119
121
- fi
120
- - name : dart_unit_tests
121
- env :
122
- matrix :
123
- CHANNEL : " master"
124
- CHANNEL : " stable"
125
- unit_test_script :
126
- - ./script/tool_runner.sh test
127
122
- name : analyze
128
123
env :
129
124
matrix :
@@ -186,21 +181,21 @@ task:
186
181
CIRRUS_CLONE_SUBMODULES : true
187
182
script : ./script/tool_runner.sh update-excerpts --fail-on-change
188
183
# ## Web tasks ###
189
- - name : web-build_all_plugins
184
+ - name : web-build_all_packages
190
185
env :
191
186
BUILD_ALL_ARGS : " web"
192
187
matrix :
193
188
CHANNEL : " master"
194
189
CHANNEL : " stable"
195
- << : *BUILD_ALL_PLUGINS_APP_TEMPLATE
190
+ << : *BUILD_ALL_PACKAGES_APP_TEMPLATE
196
191
# ## Linux desktop tasks ###
197
- - name : linux-build_all_plugins
192
+ - name : linux-build_all_packages
198
193
env :
199
194
BUILD_ALL_ARGS : " linux"
200
195
matrix :
201
196
CHANNEL : " master"
202
197
CHANNEL : " stable"
203
- << : *BUILD_ALL_PLUGINS_APP_TEMPLATE
198
+ << : *BUILD_ALL_PACKAGES_APP_TEMPLATE
204
199
- name : linux-platform_tests
205
200
# Don't run full platform tests on both channels in pre-submit.
206
201
skip : $CIRRUS_PR != '' && $CHANNEL == 'stable'
@@ -230,6 +225,14 @@ task:
230
225
cpu : 4
231
226
memory : 16G
232
227
matrix :
228
+ # ## Platform-agnostic tasks ###
229
+ - name : dart_unit_tests
230
+ env :
231
+ matrix :
232
+ CHANNEL : " master"
233
+ CHANNEL : " stable"
234
+ unit_test_script :
235
+ - ./script/tool_runner.sh test
233
236
# ## Android tasks ###
234
237
- name : android-platform_tests
235
238
# Don't run full platform tests on both channels in pre-submit.
@@ -251,7 +254,7 @@ task:
251
254
lint_script :
252
255
- ./script/tool_runner.sh lint-android # must come after build-examples
253
256
native_unit_test_script :
254
- # Native integration tests are handled by firebase-test-lab below, so
257
+ # Native integration tests are handled by Firebase Test Lab below, so
255
258
# only run unit tests.
256
259
# Must come after build-examples.
257
260
- ./script/tool_runner.sh native-test --android --no-integration --exclude script/configs/exclude_native_unit_android.yaml
@@ -268,13 +271,13 @@ task:
268
271
path : " **/reports/lint-results-debug.xml"
269
272
type : text/xml
270
273
format : android-lint
271
- - name : android-build_all_plugins
274
+ - name : android-build_all_packages
272
275
env :
273
276
BUILD_ALL_ARGS : " apk"
274
277
matrix :
275
278
CHANNEL : " master"
276
279
CHANNEL : " stable"
277
- << : *BUILD_ALL_PLUGINS_APP_TEMPLATE
280
+ << : *BUILD_ALL_PACKAGES_APP_TEMPLATE
278
281
# ## Web tasks ###
279
282
- name : web-platform_tests
280
283
env :
0 commit comments