Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 53e9504

Browse files
committed
Clone the flutter repo in every shard
1 parent 3d62c3e commit 53e9504

File tree

1 file changed

+88
-8
lines changed

1 file changed

+88
-8
lines changed

.cirrus.yml

Lines changed: 88 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -88,71 +88,151 @@ task:
8888
# As of October 2019, the Web shards needed more than 6G of RAM.
8989
CPU: 2
9090
MEMORY: 8G
91+
compile_host_script: |
92+
cd $ENGINE_PATH/src
93+
./flutter/tools/gn --unoptimized --full-dart-sdk
94+
ninja -C out/host_debug_unopt
95+
fetch_framework_script: |
96+
mkdir -p $FRAMEWORK_PATH
97+
cd $FRAMEWORK_PATH
98+
git clone https://github.com/flutter/flutter.git
99+
cd flutter
100+
bin/flutter update-packages --local-engine=host_debug_unopt
91101
script:
92-
- dart --enable-asserts $FRAMEWORK_PATH/dev/bots/test.dart
102+
- dart --enable-asserts $FRAMEWORK_PATH/flutter/dev/bots/test.dart --local-engine=host_debug_unopt
93103

94104
- name: web_tests-1-linux
95105
only_if: "changesInclude('.cirrus.yml', 'lib/web_ui/**', 'web_sdk/**') || $CIRRUS_PR == ''"
96106
environment:
97107
# As of October 2019, the Web shards needed more than 6G of RAM.
98108
CPU: 2
99109
MEMORY: 8G
110+
compile_host_script: |
111+
cd $ENGINE_PATH/src
112+
./flutter/tools/gn --unoptimized --full-dart-sdk
113+
ninja -C out/host_debug_unopt
114+
fetch_framework_script: |
115+
mkdir -p $FRAMEWORK_PATH
116+
cd $FRAMEWORK_PATH
117+
git clone https://github.com/flutter/flutter.git
118+
cd flutter
119+
bin/flutter update-packages --local-engine=host_debug_unopt
100120
script:
101-
- dart --enable-asserts $FRAMEWORK_PATH/dev/bots/test.dart
121+
- dart --enable-asserts $FRAMEWORK_PATH/flutter/dev/bots/test.dart --local-engine=host_debug_unopt
102122

103123
- name: web_tests-2-linux
104124
only_if: "changesInclude('.cirrus.yml', 'lib/web_ui/**', 'web_sdk/**') || $CIRRUS_PR == ''"
105125
environment:
106126
# As of October 2019, the Web shards needed more than 6G of RAM.
107127
CPU: 2
108128
MEMORY: 8G
129+
compile_host_script: |
130+
cd $ENGINE_PATH/src
131+
./flutter/tools/gn --unoptimized --full-dart-sdk
132+
ninja -C out/host_debug_unopt
133+
fetch_framework_script: |
134+
mkdir -p $FRAMEWORK_PATH
135+
cd $FRAMEWORK_PATH
136+
git clone https://github.com/flutter/flutter.git
137+
cd flutter
138+
bin/flutter update-packages --local-engine=host_debug_unopt
109139
script:
110-
- dart --enable-asserts $FRAMEWORK_PATH/dev/bots/test.dart
140+
- dart --enable-asserts $FRAMEWORK_PATH/flutter/dev/bots/test.dart --local-engine=host_debug_unopt
111141

112142
- name: web_tests-3-linux
113143
only_if: "changesInclude('.cirrus.yml', 'lib/web_ui/**', 'web_sdk/**') || $CIRRUS_PR == ''"
114144
environment:
115145
# As of October 2019, the Web shards needed more than 6G of RAM.
116146
CPU: 2
117147
MEMORY: 8G
148+
compile_host_script: |
149+
cd $ENGINE_PATH/src
150+
./flutter/tools/gn --unoptimized --full-dart-sdk
151+
ninja -C out/host_debug_unopt
152+
fetch_framework_script: |
153+
mkdir -p $FRAMEWORK_PATH
154+
cd $FRAMEWORK_PATH
155+
git clone https://github.com/flutter/flutter.git
156+
cd flutter
157+
bin/flutter update-packages --local-engine=host_debug_unopt
118158
script:
119-
- dart --enable-asserts $FRAMEWORK_PATH/dev/bots/test.dart
159+
- dart --enable-asserts $FRAMEWORK_PATH/flutter/dev/bots/test.dart --local-engine=host_debug_unopt
120160

121161
- name: web_tests-4-linux
122162
only_if: "changesInclude('.cirrus.yml', 'lib/web_ui/**', 'web_sdk/**') || $CIRRUS_PR == ''"
123163
environment:
124164
# As of October 2019, the Web shards needed more than 6G of RAM.
125165
CPU: 2
126166
MEMORY: 8G
167+
compile_host_script: |
168+
cd $ENGINE_PATH/src
169+
./flutter/tools/gn --unoptimized --full-dart-sdk
170+
ninja -C out/host_debug_unopt
171+
fetch_framework_script: |
172+
mkdir -p $FRAMEWORK_PATH
173+
cd $FRAMEWORK_PATH
174+
git clone https://github.com/flutter/flutter.git
175+
cd flutter
176+
bin/flutter update-packages --local-engine=host_debug_unopt
127177
script:
128-
- dart --enable-asserts $FRAMEWORK_PATH/dev/bots/test.dart
178+
- dart --enable-asserts $FRAMEWORK_PATH/flutter/dev/bots/test.dart --local-engine=host_debug_unopt
129179

130180
- name: web_tests-5-linux
131181
only_if: "changesInclude('.cirrus.yml', 'lib/web_ui/**', 'web_sdk/**') || $CIRRUS_PR == ''"
132182
environment:
133183
# As of October 2019, the Web shards needed more than 6G of RAM.
134184
CPU: 2
135185
MEMORY: 8G
186+
compile_host_script: |
187+
cd $ENGINE_PATH/src
188+
./flutter/tools/gn --unoptimized --full-dart-sdk
189+
ninja -C out/host_debug_unopt
190+
fetch_framework_script: |
191+
mkdir -p $FRAMEWORK_PATH
192+
cd $FRAMEWORK_PATH
193+
git clone https://github.com/flutter/flutter.git
194+
cd flutter
195+
bin/flutter update-packages --local-engine=host_debug_unopt
136196
script:
137-
- dart --enable-asserts $FRAMEWORK_PATH/dev/bots/test.dart
197+
- dart --enable-asserts $FRAMEWORK_PATH/flutter/dev/bots/test.dart --local-engine=host_debug_unopt
138198

139199
- name: web_tests-6-linux
140200
only_if: "changesInclude('.cirrus.yml', 'lib/web_ui/**', 'web_sdk/**') || $CIRRUS_PR == ''"
141201
environment:
142202
# As of October 2019, the Web shards needed more than 6G of RAM.
143203
CPU: 2
144204
MEMORY: 8G
205+
compile_host_script: |
206+
cd $ENGINE_PATH/src
207+
./flutter/tools/gn --unoptimized --full-dart-sdk
208+
ninja -C out/host_debug_unopt
209+
fetch_framework_script: |
210+
mkdir -p $FRAMEWORK_PATH
211+
cd $FRAMEWORK_PATH
212+
git clone https://github.com/flutter/flutter.git
213+
cd flutter
214+
bin/flutter update-packages --local-engine=host_debug_unopt
145215
script:
146-
- dart --enable-asserts $FRAMEWORK_PATH/dev/bots/test.dart
216+
- dart --enable-asserts $FRAMEWORK_PATH/flutter/dev/bots/test.dart --local-engine=host_debug_unopt
147217

148218
- name: web_tests-7_last-linux # last Web shard must end with _last
149219
only_if: "changesInclude('.cirrus.yml', 'lib/web_ui/**', 'web_sdk/**') || $CIRRUS_PR == ''"
150220
environment:
151221
# As of October 2019, the Web shards needed more than 6G of RAM.
152222
CPU: 2
153223
MEMORY: 8G
224+
compile_host_script: |
225+
cd $ENGINE_PATH/src
226+
./flutter/tools/gn --unoptimized --full-dart-sdk
227+
ninja -C out/host_debug_unopt
228+
fetch_framework_script: |
229+
mkdir -p $FRAMEWORK_PATH
230+
cd $FRAMEWORK_PATH
231+
git clone https://github.com/flutter/flutter.git
232+
cd flutter
233+
bin/flutter update-packages --local-engine=host_debug_unopt
154234
script:
155-
- dart --enable-asserts $FRAMEWORK_PATH/dev/bots/test.dart
235+
- dart --enable-asserts $FRAMEWORK_PATH/flutter/dev/bots/test.dart --local-engine=host_debug_unopt
156236

157237
- name: build_and_test_web_linux_firefox
158238
compile_host_script: |

0 commit comments

Comments
 (0)