|
1 | 1 | gcp_credentials: ENCRYPTED[987a78af29b91ce8489594c9ab3fec21845bbe5ba68294b8f6def3cf0d380830f06687a89ea69c87344c5ade369700fe]
|
2 | 2 |
|
| 3 | +web_shard_template: &WEB_SHARD_TEMPLATE |
| 4 | + only_if: "changesInclude('.cirrus.yml', 'lib/web_ui/**', 'web_sdk/**') || $CIRRUS_PR == ''" |
| 5 | + environment: |
| 6 | + # As of October 2019, the Web shards needed more than 6G of RAM. |
| 7 | + CPU: 2 |
| 8 | + MEMORY: 8G |
| 9 | + compile_host_script: | |
| 10 | + cd $ENGINE_PATH/src |
| 11 | + ./flutter/tools/gn --unoptimized --full-dart-sdk |
| 12 | + ninja -C out/host_debug_unopt |
| 13 | + fetch_framework_script: | |
| 14 | + mkdir -p $FRAMEWORK_PATH |
| 15 | + cd $FRAMEWORK_PATH |
| 16 | + git clone https://github.com/flutter/flutter.git |
| 17 | + cd flutter |
| 18 | + bin/flutter update-packages --local-engine=host_debug_unopt |
| 19 | + script: |
| 20 | + - dart --enable-asserts $FRAMEWORK_PATH/flutter/dev/bots/test.dart --local-engine=host_debug_unopt |
| 21 | + |
3 | 22 | # LINUX
|
4 | 23 | task:
|
5 | 24 | gke_container:
|
@@ -178,23 +197,7 @@ task:
|
178 | 197 | - dart --enable-asserts $FRAMEWORK_PATH/flutter/dev/bots/test.dart --local-engine=host_debug_unopt
|
179 | 198 |
|
180 | 199 | - name: web_tests-5-linux
|
181 |
| - only_if: "changesInclude('.cirrus.yml', 'lib/web_ui/**', 'web_sdk/**') || $CIRRUS_PR == ''" |
182 |
| - environment: |
183 |
| - # As of October 2019, the Web shards needed more than 6G of RAM. |
184 |
| - CPU: 2 |
185 |
| - 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 |
196 |
| - script: |
197 |
| - - dart --enable-asserts $FRAMEWORK_PATH/flutter/dev/bots/test.dart --local-engine=host_debug_unopt |
| 200 | + << : *REGULAR_TASK_TEMPLATE |
198 | 201 |
|
199 | 202 | - name: web_tests-6-linux
|
200 | 203 | only_if: "changesInclude('.cirrus.yml', 'lib/web_ui/**', 'web_sdk/**') || $CIRRUS_PR == ''"
|
|
0 commit comments