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

Commit 714ec82

Browse files
committed
Split tests out of Linux Android artifact creation builds
1 parent 9caaec0 commit 714ec82

File tree

2 files changed

+96
-34
lines changed

2 files changed

+96
-34
lines changed

ci/builders/linux_android_debug_engine.json

Lines changed: 2 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -39,23 +39,7 @@
3939
"flutter/shell/platform/android:abi_jars",
4040
"flutter/shell/platform/android:robolectric_tests"
4141
]
42-
},
43-
"tests": [
44-
{
45-
"language": "python3",
46-
"name": "Host Tests for android_jit_release_x86",
47-
"script": "flutter/testing/run_tests.py",
48-
"parameters": [
49-
"--variant",
50-
"ci/android_jit_release_x86",
51-
"--type",
52-
"java",
53-
"--engine-capture-core-dump",
54-
"--android-variant",
55-
"ci/android_jit_release_x86"
56-
]
57-
}
58-
]
42+
}
5943
},
6044
{
6145
"archives": [
@@ -102,23 +86,7 @@
10286
"flutter/shell/platform/android:abi_jars",
10387
"flutter/shell/platform/android:robolectric_tests"
10488
]
105-
},
106-
"tests": [
107-
{
108-
"language": "python3",
109-
"name": "Host Tests for android_debug",
110-
"script": "flutter/testing/run_tests.py",
111-
"parameters": [
112-
"--variant",
113-
"ci/android_debug",
114-
"--type",
115-
"java",
116-
"--engine-capture-core-dump",
117-
"--android-variant",
118-
"ci/android_debug"
119-
]
120-
}
121-
]
89+
}
12290
},
12391
{
12492
"archives": [

ci/builders/linux_unopt.json

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,100 @@
269269
]
270270
}
271271
]
272+
},
273+
{
274+
"cas_archive": false,
275+
"drone_dimensions": [
276+
"device_type=none",
277+
"os=Linux"
278+
],
279+
"gclient_variables": {
280+
"use_rbe": true
281+
},
282+
"gn": [
283+
"--target-dir",
284+
"ci/android_jit_release_x86_test",
285+
"--android",
286+
"--android-cpu=x86",
287+
"--runtime-mode=jit_release",
288+
"--rbe",
289+
"--no-goma"
290+
],
291+
"name": "ci/android_jit_release_x86_test",
292+
"description": "Produces jit-release mode artifacts to target x86 Android from a Linux host.",
293+
"ninja": {
294+
"config": "ci/android_jit_release_x86_test",
295+
"targets": [
296+
"flutter",
297+
"flutter/shell/platform/android:embedding_jars",
298+
"flutter/shell/platform/android:abi_jars",
299+
"flutter/shell/platform/android:robolectric_tests"
300+
]
301+
},
302+
"tests": [
303+
{
304+
"language": "python3",
305+
"name": "Host Tests for android_jit_release_x86_test",
306+
"script": "flutter/testing/run_tests.py",
307+
"parameters": [
308+
"--variant",
309+
"ci/android_jit_release_x86_test",
310+
"--type",
311+
"java",
312+
"--engine-capture-core-dump",
313+
"--android-variant",
314+
"ci/android_jit_release_x86_test"
315+
]
316+
}
317+
]
318+
},
319+
{
320+
"cas_archive": false,
321+
"drone_dimensions": [
322+
"device_type=none",
323+
"os=Linux"
324+
],
325+
"gclient_variables": {
326+
"use_rbe": true
327+
},
328+
"gn": [
329+
"--target-dir",
330+
"ci/android_debug_test",
331+
"--android",
332+
"--android-cpu=arm",
333+
"--no-lto",
334+
"--rbe",
335+
"--no-goma"
336+
],
337+
"name": "ci/android_debug_test",
338+
"description": "Produces debug mode artifacts to target 32-bit arm Android from a Linux host.",
339+
"ninja": {
340+
"config": "ci/android_debug_test",
341+
"targets": [
342+
"flutter",
343+
"flutter/sky/dist:zip_old_location",
344+
"flutter/lib/gpu/dist:zip_old_location",
345+
"flutter/shell/platform/android:embedding_jars",
346+
"flutter/shell/platform/android:abi_jars",
347+
"flutter/shell/platform/android:robolectric_tests"
348+
]
349+
},
350+
"tests": [
351+
{
352+
"language": "python3",
353+
"name": "Host Tests for android_debug_test",
354+
"script": "flutter/testing/run_tests.py",
355+
"parameters": [
356+
"--variant",
357+
"ci/android_debug_test",
358+
"--type",
359+
"java",
360+
"--engine-capture-core-dump",
361+
"--android-variant",
362+
"ci/android_debug_test"
363+
]
364+
}
365+
]
272366
}
273367
]
274368
}

0 commit comments

Comments
 (0)