68
68
- which flutter
69
69
matrix :
70
70
- name : analyze-linux # linux-only
71
- only_if : " $CIRRUS_PR != ''"
71
+ only_if : " $CIRRUS_PR != '' && $CIRRUS_BASE_BRANCH == 'master' "
72
72
environment :
73
73
# Empirically, the analyze-linux shard runs surprisingly fast (under 15 minutes) with just 1
74
74
# CPU. We noticed OOM failures with 6GB 4/2020, so we increased the memory.
78
78
- dart --enable-asserts ./dev/bots/analyze.dart
79
79
80
80
- name : framework_tests-widgets-linux
81
- only_if : " changesInclude('.cirrus.yml', 'dev/**', 'packages/flutter/**', 'packages/flutter_test/**', 'packages/flutter_tools/lib/src/test/**', 'bin/**') && $CIRRUS_PR != ''"
81
+ only_if : " changesInclude('.cirrus.yml', 'dev/**', 'packages/flutter/**', 'packages/flutter_test/**', 'packages/flutter_tools/lib/src/test/**', 'bin/**') && $CIRRUS_PR != '' && $CIRRUS_BASE_BRANCH == 'master' "
82
82
environment :
83
83
# We use 3 CPUs because that's the minimum required to get framework_tests-widgets-linux
84
84
# running fast enough that it is not the long pole, as of October 2019.
87
87
- dart --enable-asserts ./dev/bots/test.dart
88
88
89
89
- name : framework_tests-libraries-linux
90
- only_if : " changesInclude('.cirrus.yml', 'dev/**', 'packages/flutter/**', 'packages/flutter_test/**', 'packages/flutter_tools/lib/src/test/**', 'bin/**') && $CIRRUS_PR != ''"
90
+ only_if : " changesInclude('.cirrus.yml', 'dev/**', 'packages/flutter/**', 'packages/flutter_test/**', 'packages/flutter_tools/lib/src/test/**', 'bin/**') && $CIRRUS_PR != '' && $CIRRUS_BASE_BRANCH == 'master' "
91
91
environment :
92
92
# We use 3 CPUs because that's the minimum required to get the
93
93
# framework_tests-libraries-linux shard running fast enough that it is not the long pole, as
98
98
99
99
- name : framework_tests-misc-linux
100
100
# this includes the tests for directories in dev/
101
- only_if : " changesInclude('.cirrus.yml', 'dev/**', 'packages/flutter/**', 'packages/flutter_goldens/**', 'packages/flutter_test/**', 'packages/flutter_tools/lib/src/test/**', 'bin/**') && $CIRRUS_PR != ''"
101
+ only_if : " changesInclude('.cirrus.yml', 'dev/**', 'packages/flutter/**', 'packages/flutter_goldens/**', 'packages/flutter_test/**', 'packages/flutter_tools/lib/src/test/**', 'bin/**') && $CIRRUS_PR != '' && $CIRRUS_BASE_BRANCH == 'master' "
102
102
environment :
103
103
# We use 3 CPUs because that's the minimum required to get framework_tests-misc-linux
104
104
# running fast enough that it is not the long pole, as of October 2019.
@@ -107,7 +107,7 @@ task:
107
107
- dart --enable-asserts ./dev/bots/test.dart
108
108
109
109
- name : tool_tests-general-linux
110
- only_if : " changesInclude('.cirrus.yml', 'dev/**', 'packages/flutter_tools/**', 'bin/**') && $CIRRUS_PR != ''"
110
+ only_if : " changesInclude('.cirrus.yml', 'dev/**', 'packages/flutter_tools/**', 'bin/**') && $CIRRUS_PR != '' && $CIRRUS_BASE_BRANCH == 'master' "
111
111
environment :
112
112
# As of November 2019, the tool_tests-general-linux shard got faster with more CPUs up to 4
113
113
# CPUs, and needed at least 10G of RAM to not run out of memory.
@@ -122,7 +122,7 @@ task:
122
122
- dart --enable-asserts ./dev/bots/test.dart
123
123
124
124
- name : tool_tests-commands-linux
125
- only_if : " changesInclude('.cirrus.yml', 'dev/**', 'packages/flutter_tools/**', 'bin/**') && $CIRRUS_PR != ''"
125
+ only_if : " changesInclude('.cirrus.yml', 'dev/**', 'packages/flutter_tools/**', 'bin/**') && $CIRRUS_PR != '' && $CIRRUS_BASE_BRANCH == 'master' "
126
126
environment :
127
127
# As of October 2019, the tool_tests-commands-linux shard got faster with more CPUs up to 6
128
128
# CPUs, and needed at least 8G of RAM to not run out of memory.
@@ -139,12 +139,12 @@ task:
139
139
environment :
140
140
CPU : 4
141
141
MEMORY : 12G
142
- only_if : " $CIRRUS_PR != ''"
142
+ only_if : " $CIRRUS_PR != '' && $CIRRUS_BASE_BRANCH == 'master' "
143
143
script :
144
144
- ./dev/bots/docs.sh
145
145
146
146
- name : customer_testing-linux
147
- only_if : " $CIRRUS_PR != ''"
147
+ only_if : " $CIRRUS_PR != '' && $CIRRUS_BASE_BRANCH == 'master' "
148
148
environment :
149
149
# Empirically, this shard runs fine at 1 CPU and 4G RAM as of October 2019. We will probably
150
150
# want to grow this container when we invite people to add their tests in large numbers.
0 commit comments