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

Commit 9b1830d

Browse files
committed
Try yaml template
1 parent cb9b78c commit 9b1830d

File tree

1 file changed

+20
-17
lines changed

1 file changed

+20
-17
lines changed

.cirrus.yml

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
gcp_credentials: ENCRYPTED[987a78af29b91ce8489594c9ab3fec21845bbe5ba68294b8f6def3cf0d380830f06687a89ea69c87344c5ade369700fe]
22

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+
322
# LINUX
423
task:
524
gke_container:
@@ -178,23 +197,7 @@ task:
178197
- dart --enable-asserts $FRAMEWORK_PATH/flutter/dev/bots/test.dart --local-engine=host_debug_unopt
179198

180199
- 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
198201

199202
- name: web_tests-6-linux
200203
only_if: "changesInclude('.cirrus.yml', 'lib/web_ui/**', 'web_sdk/**') || $CIRRUS_PR == ''"

0 commit comments

Comments
 (0)