@@ -48,10 +48,10 @@ task:
48
48
- CIRRUS_BUILD_ID=null pub run test
49
49
- name : publishable
50
50
script :
51
- - ./script/incremental_build .sh version-check
52
- - ./script/check_publish .sh
51
+ - ./script/tool_runner .sh version-check
52
+ - ./script/tool_runner .sh publish-check
53
53
- name : format
54
- format_script : ./script/incremental_build .sh format --fail-on-change
54
+ format_script : ./script/tool_runner .sh format --fail-on-change
55
55
license_script :
56
56
- dart script/tool/lib/src/main.dart license-check
57
57
- name : test
@@ -60,16 +60,16 @@ task:
60
60
CHANNEL : " master"
61
61
CHANNEL : " stable"
62
62
test_script :
63
- - ./script/incremental_build .sh test
63
+ - ./script/tool_runner .sh test
64
64
- name : analyze_master
65
65
env :
66
66
matrix :
67
67
CHANNEL : " master"
68
68
tool_script :
69
69
- cd script/tool
70
70
- dart analyze --fatal-infos
71
- plugins_script :
72
- - ./script/incremental_build .sh analyze
71
+ script :
72
+ - ./script/tool_runner .sh analyze
73
73
# # TODO(cyanglaz):
74
74
# # Combing stable and master analyze jobs when integration test null safety is ready on flutter stable.
75
75
- name : analyze_stable
78
78
CHANNEL : " stable"
79
79
script :
80
80
- find . -depth -type d -wholename '*_web/example' -exec rm -rf {} \;
81
- - ./script/incremental_build .sh analyze
81
+ - ./script/tool_runner .sh analyze
82
82
# ## Android tasks ###
83
83
- name : build_all_plugins_apk
84
84
env :
@@ -111,9 +111,9 @@ task:
111
111
CHANNEL : " stable"
112
112
build_script :
113
113
- flutter config --enable-linux-desktop
114
- - ./script/incremental_build .sh build-examples --linux
114
+ - ./script/tool_runner .sh build-examples --linux
115
115
test_script :
116
- - xvfb-run ./script/incremental_build .sh drive-examples --linux
116
+ - xvfb-run ./script/tool_runner .sh drive-examples --linux
117
117
118
118
# Heavy-workload Linux tasks.
119
119
# These use machines with more CPUs and memory, so will reduce parallelization
@@ -154,11 +154,11 @@ task:
154
154
- echo "$CIRRUS_COMMIT_MESSAGE" > /tmp/cirrus_commit_message.txt
155
155
- export CIRRUS_CHANGE_MESSAGE=""
156
156
- export CIRRUS_COMMIT_MESSAGE=""
157
- - ./script/incremental_build .sh build-examples --apk
158
- - ./script/incremental_build .sh java-test # must come after apk build
157
+ - ./script/tool_runner .sh build-examples --apk
158
+ - ./script/tool_runner .sh java-test # must come after apk build
159
159
- if [[ -n "$GCLOUD_FIREBASE_TESTLAB_KEY" ]]; then
160
160
- echo $GCLOUD_FIREBASE_TESTLAB_KEY > ${HOME}/gcloud-service-key.json
161
- - ./script/incremental_build .sh firebase-test-lab --device model=flame,version=29 --device model=starqlteue,version=26
161
+ - ./script/tool_runner .sh firebase-test-lab --device model=flame,version=29 --device model=starqlteue,version=26
162
162
- else
163
163
- echo "This user does not have permission to run Firebase Test Lab tests."
164
164
- fi
@@ -177,11 +177,11 @@ task:
177
177
- dart lib/web_driver_installer.dart chromedriver --install-only
178
178
- ./chromedriver/chromedriver --port=4444 &
179
179
build_script :
180
- - ./script/incremental_build .sh build-examples --web
180
+ - ./script/tool_runner .sh build-examples --web
181
181
test_script :
182
182
# TODO(stuartmorgan): Eliminate this check once 2.1 reaches stable.
183
183
- if [[ "$CHANNEL" == "master" ]]; then
184
- - ./script/incremental_build .sh drive-examples --web
184
+ - ./script/tool_runner .sh drive-examples --web
185
185
- else
186
186
- echo "Requires null-safe integration_test; skipping."
187
187
- fi
@@ -216,13 +216,13 @@ task:
216
216
- xcrun simctl list
217
217
- xcrun simctl create Flutter-iPhone com.apple.CoreSimulator.SimDeviceType.iPhone-11 com.apple.CoreSimulator.SimRuntime.iOS-14-3 | xargs xcrun simctl boot
218
218
build_script :
219
- - ./script/incremental_build .sh build-examples --ipa
219
+ - ./script/tool_runner .sh build-examples --ipa
220
220
test_script :
221
- - ./script/incremental_build .sh xctest --skip $PLUGINS_TO_SKIP_XCTESTS --ios-destination "platform=iOS Simulator,name=iPhone 11,OS=latest"
221
+ - ./script/tool_runner .sh xctest --skip $PLUGINS_TO_SKIP_XCTESTS --ios-destination "platform=iOS Simulator,name=iPhone 11,OS=latest"
222
222
# `drive-examples` contains integration tests, which changes the UI of the application.
223
223
# This UI change sometimes affects `xctest`.
224
224
# So we run `drive-examples` after `xctest`, changing the order will result ci failure.
225
- - ./script/incremental_build .sh drive-examples --ios
225
+ - ./script/tool_runner .sh drive-examples --ios
226
226
# ## macOS desktop tasks ###
227
227
- name : build_all_plugins_macos
228
228
env :
@@ -240,9 +240,9 @@ task:
240
240
PATH : $PATH:/usr/local/bin
241
241
build_script :
242
242
- flutter config --enable-macos-desktop
243
- - ./script/incremental_build .sh build-examples --macos --no-ipa
243
+ - ./script/tool_runner .sh build-examples --macos --no-ipa
244
244
test_script :
245
- - ./script/incremental_build .sh drive-examples --macos
245
+ - ./script/tool_runner .sh drive-examples --macos
246
246
247
247
task :
248
248
# Don't use FLUTTER_UPGRADE_TEMPLATE, Flutter tooling not needed.
@@ -253,4 +253,4 @@ task:
253
253
script :
254
254
# TODO(jmagman): Lint macOS podspecs but skip any that fail library validation.
255
255
- find . -name "*.podspec" | xargs grep -l "osx" | xargs rm
256
- - ./script/incremental_build .sh podspecs
256
+ - ./script/tool_runner .sh podspecs
0 commit comments