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

Commit 4c24fe1

Browse files
committed
Make global builds uniquely named per platform
1 parent 3557277 commit 4c24fe1

File tree

9 files changed

+168
-153
lines changed

9 files changed

+168
-153
lines changed

ci/builders/linux_android_emulator.json

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,19 @@
1515
"--android-cpu=x64",
1616
"--no-lto",
1717
"--rbe",
18-
"--no-goma"
18+
"--no-goma",
19+
"--target-dir",
20+
"android_emulator_debug_x64"
1921
],
2022
"dependencies": [
2123
{
2224
"dependency": "goldctl",
2325
"version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd"
2426
}
2527
],
26-
"name": "android_debug_x64",
28+
"name": "android_emulator_debug_x64",
2729
"ninja": {
28-
"config": "android_debug_x64",
30+
"config": "android_emulator_debug_x64",
2931
"targets": [
3032
"flutter/shell/platform/android:flutter_shell_native_unittests",
3133
"flutter/testing/scenario_app"
@@ -51,7 +53,7 @@
5153
"script": "flutter/testing/run_tests.py",
5254
"parameters": [
5355
"--android-variant",
54-
"android_debug_x64",
56+
"android_emulator_debug_x64",
5557
"--type",
5658
"android"
5759
]
@@ -74,7 +76,7 @@
7476
],
7577
"script": "flutter/testing/scenario_app/run_android_tests.sh",
7678
"parameters": [
77-
"android_debug_x64",
79+
"android_emulator_debug_x64",
7880
"--no-enable-impeller"
7981
]
8082
},
@@ -96,7 +98,7 @@
9698
],
9799
"script": "flutter/testing/scenario_app/run_android_tests.sh",
98100
"parameters": [
99-
"android_debug_x64",
101+
"android_emulator_debug_x64",
100102
"--enable-impeller",
101103
"--impeller-backend=vulkan"
102104
]
@@ -118,17 +120,19 @@
118120
"--android-cpu=x86",
119121
"--no-lto",
120122
"--rbe",
121-
"--no-goma"
123+
"--no-goma",
124+
"--target-dir",
125+
"android_emulator_debug_x86"
122126
],
123127
"dependencies": [
124128
{
125129
"dependency": "goldctl",
126130
"version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd"
127131
}
128132
],
129-
"name": "android_debug_x86",
133+
"name": "android_emulator_debug_x86",
130134
"ninja": {
131-
"config": "android_debug_x86",
135+
"config": "android_emulator_debug_x86",
132136
"targets": [
133137
"flutter/shell/platform/android:flutter_shell_native_unittests",
134138
"flutter/testing/scenario_app"
@@ -154,7 +158,7 @@
154158
"script": "flutter/testing/run_tests.py",
155159
"parameters": [
156160
"--android-variant",
157-
"android_debug_x86",
161+
"android_emulator_debug_x86",
158162
"--type",
159163
"android"
160164
]

ci/builders/linux_android_emulator_api_33.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,19 @@
1515
"--android-cpu=x64",
1616
"--no-lto",
1717
"--rbe",
18-
"--no-goma"
18+
"--no-goma",
19+
"--target-dir",
20+
"android_debug_api33_x64"
1921
],
2022
"dependencies": [
2123
{
2224
"dependency": "goldctl",
2325
"version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd"
2426
}
2527
],
26-
"name": "android_debug_x64",
28+
"name": "android_debug_api33_x64",
2729
"ninja": {
28-
"config": "android_debug_x64",
30+
"config": "android_debug_api33_x64",
2931
"targets": [
3032
"flutter/shell/platform/android:flutter_shell_native_unittests",
3133
"flutter/testing/scenario_app"
@@ -51,7 +53,7 @@
5153
"script": "flutter/testing/run_tests.py",
5254
"parameters": [
5355
"--android-variant",
54-
"android_debug_x64",
56+
"android_debug_api33_x64",
5557
"--type",
5658
"android"
5759
]
@@ -74,7 +76,7 @@
7476
],
7577
"script": "flutter/testing/scenario_app/run_android_tests.sh",
7678
"parameters": [
77-
"android_debug_x64"
79+
"android_debug_api33_x64"
7880
]
7981
}
8082
]

ci/builders/linux_android_emulator_opengles.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,19 @@
1515
"--android-cpu=x64",
1616
"--no-lto",
1717
"--rbe",
18-
"--no-goma"
18+
"--no-goma",
19+
"--target-dir",
20+
"android_emulator_opengles_debug_x64"
1921
],
2022
"dependencies": [
2123
{
2224
"dependency": "goldctl",
2325
"version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd"
2426
}
2527
],
26-
"name": "android_debug_x64",
28+
"name": "android_emulator_opengles_debug_x64",
2729
"ninja": {
28-
"config": "android_debug_x64",
30+
"config": "android_emulator_opengles_debug_x64",
2931
"targets": [
3032
"flutter/testing/scenario_app"
3133
]
@@ -49,7 +51,7 @@
4951
],
5052
"script": "flutter/testing/scenario_app/run_android_tests.sh",
5153
"parameters": [
52-
"android_debug_x64",
54+
"android_emulator_opengles_debug_x64",
5355
"--enable-impeller",
5456
"--impeller-backend=opengles"
5557
]

ci/builders/linux_clang_tidy.json

Lines changed: 31 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@
1010
"--android",
1111
"--android-cpu",
1212
"arm64",
13-
"--no-lto"
13+
"--no-lto",
14+
"--target-dir",
15+
"android_debug_arm64_clang_tidy"
1416
],
15-
"name": "android_debug_arm64",
17+
"name": "android_debug_arm64_clang_tidy",
1618
"ninja": {
17-
"config": "android_debug_arm64"
19+
"config": "android_debug_arm64_clang_tidy"
1820
}
1921
},
2022
{
@@ -27,11 +29,13 @@
2729
"--runtime-mode",
2830
"debug",
2931
"--prebuilt-dart-sdk",
30-
"--no-lto"
32+
"--no-lto",
33+
"--target-dir",
34+
"host_debug_clang_tidy"
3135
],
32-
"name": "host_debug",
36+
"name": "host_debug_clang_tidy",
3337
"ninja": {
34-
"config": "host_debug"
38+
"config": "host_debug_clang_tidy"
3539
}
3640
}
3741
],
@@ -48,19 +52,19 @@
4852
"download_android_deps": false
4953
},
5054
"dependencies": [
51-
"host_debug"
55+
"host_debug_clang_tidy"
5256
],
5357
"tasks": [
5458
{
5559
"name": "test: lint host_debug",
5660
"parameters": [
5761
"--variant",
58-
"host_debug",
62+
"host_debug_clang_tidy",
5963
"--lint-all",
6064
"--shard-id=0",
61-
"--shard-variants=host_debug,host_debug,host_debug"
65+
"--shard-variants=host_debug_clang_tidy,host_debug_clang_tidy,host_debug_clang_tidy"
6266
],
63-
"max_attempts": 1,
67+
"max_attempts": 1,
6468
"script": "flutter/ci/clang_tidy.sh"
6569
}
6670
]
@@ -77,19 +81,19 @@
7781
"download_android_deps": false
7882
},
7983
"dependencies": [
80-
"host_debug"
84+
"host_debug_clang_tidy"
8185
],
8286
"tasks": [
8387
{
8488
"name": "test: lint host_debug",
8589
"parameters": [
8690
"--variant",
87-
"host_debug",
91+
"host_debug_clang_tidy",
8892
"--lint-all",
8993
"--shard-id=1",
90-
"--shard-variants=host_debug,host_debug,host_debug"
94+
"--shard-variants=host_debug_clang_tidy,host_debug_clang_tidy,host_debug_clang_tidy"
9195
],
92-
"max_attempts": 1,
96+
"max_attempts": 1,
9397
"script": "flutter/ci/clang_tidy.sh"
9498
}
9599
]
@@ -106,20 +110,19 @@
106110
"download_android_deps": false
107111
},
108112
"dependencies": [
109-
"host_debug",
110-
"android_debug_arm64"
113+
"host_debug_clang_tidy"
111114
],
112115
"tasks": [
113116
{
114117
"name": "test: lint host_debug",
115118
"parameters": [
116119
"--variant",
117-
"host_debug",
120+
"host_debug_clang_tidy",
118121
"--lint-all",
119122
"--shard-id=2",
120-
"--shard-variants=host_debug,host_debug,host_debug"
123+
"--shard-variants=host_debug_clang_tidy,host_debug_clang_tidy,host_debug_clang_tidy"
121124
],
122-
"max_attempts": 1,
125+
"max_attempts": 1,
123126
"script": "flutter/ci/clang_tidy.sh"
124127
}
125128
]
@@ -136,20 +139,19 @@
136139
"download_android_deps": false
137140
},
138141
"dependencies": [
139-
"host_debug",
140-
"android_debug_arm64"
142+
"host_debug_clang_tidy"
141143
],
142144
"tasks": [
143145
{
144146
"name": "test: lint host_debug",
145147
"parameters": [
146148
"--variant",
147-
"host_debug",
149+
"host_debug_clang_tidy",
148150
"--lint-all",
149151
"--shard-id=3",
150-
"--shard-variants=host_debug,host_debug,host_debug"
152+
"--shard-variants=host_debug_clang_tidy,host_debug_clang_tidy,host_debug_clang_tidy"
151153
],
152-
"max_attempts": 1,
154+
"max_attempts": 1,
153155
"script": "flutter/ci/clang_tidy.sh"
154156
}
155157
]
@@ -163,20 +165,20 @@
163165
"cores=32"
164166
],
165167
"dependencies": [
166-
"host_debug",
167-
"android_debug_arm64"
168+
"host_debug_clang_tidy",
169+
"android_debug_arm64_clang_tidy"
168170
],
169171
"tasks": [
170172
{
171173
"name": "test: lint android_debug_arm64",
172174
"parameters": [
173175
"--variant",
174-
"android_debug_arm64",
176+
"android_debug_arm64_clang_tidy",
175177
"--lint-all",
176178
"--shard-id=0",
177-
"--shard-variants=host_debug,host_debug,host_debug,host_debug"
179+
"--shard-variants=host_debug_clang_tidy,host_debug_clang_tidy,host_debug_clang_tidy,host_debug_clang_tidy"
178180
],
179-
"max_attempts": 1,
181+
"max_attempts": 1,
180182
"script": "flutter/ci/clang_tidy.sh"
181183
}
182184
]

0 commit comments

Comments
 (0)