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

Commit b649d58

Browse files
authored
Migrate linux unopt to engine_v2. (#41658)
Migrates linux unopt to use engine v2 recipes. [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
1 parent 148fd96 commit b649d58

File tree

2 files changed

+130
-0
lines changed

2 files changed

+130
-0
lines changed

.ci.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,14 @@ targets:
295295
release_build: "true"
296296
config_name: linux_web_engine
297297

298+
- name: Linux linux_unopt
299+
bringup: true
300+
recipe: engine_v2/engine_v2
301+
timeout: 60
302+
properties:
303+
release_build: "true"
304+
config_name: linux_unopt
305+
298306
- name: Linux Web Framework tests
299307
recipe: engine/web_engine_framework
300308
enabled_branches:

ci/builders/linux_unopt.json

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
{
2+
"builds": [
3+
{
4+
"drone_dimensions": [
5+
"device_type=none",
6+
"os=Linux"
7+
],
8+
"gclient_variables": {
9+
"download_android_deps": false
10+
},
11+
"gn": [
12+
"--runtime-mode",
13+
"debug",
14+
"--unoptimized",
15+
"--prebuilt-dart-sdk",
16+
"--asan",
17+
"--lsan",
18+
"--dart-debug"
19+
],
20+
"name": "host_debug_unopt",
21+
"ninja": {
22+
"config": "host_debug_unopt",
23+
"targets": [
24+
"flutter/tools/font-subset",
25+
"flutter:unittests",
26+
"flutter/build/dart:copy_dart_sdk",
27+
"flutter/shell/platform/common/client_wrapper:client_wrapper_unittests",
28+
"flutter/shell/platform/common:common_cpp_core_unittests",
29+
"flutter/shell/platform/common:common_cpp_unittests",
30+
"flutter/shell/platform/glfw/client_wrapper:client_wrapper_glfw_unittests",
31+
"flutter/shell/testing",
32+
"sky_engine"
33+
]
34+
},
35+
"tests": [
36+
{
37+
"name": "test:format_and_dart_test",
38+
"script": "flutter/ci/format.sh"
39+
},
40+
{
41+
"language": "python3",
42+
"name": "test: Host_Tests_for_host_debug_unopt",
43+
"parameters": [
44+
"--variant",
45+
"host_debug_unopt",
46+
"--type",
47+
"dart,engine",
48+
"--engine-capture-core-dump",
49+
"--use-sanitizer-suppressions"
50+
],
51+
"script": "flutter/testing/run_tests.py"
52+
},
53+
{
54+
"name": "analyze_dart_ui",
55+
"script": "flutter/ci/analyze.sh"
56+
},
57+
{
58+
"language": "dart",
59+
"name": "test: observatory and service protocol",
60+
"script": "flutter/shell/testing/observatory/test.dart",
61+
"parameters": [
62+
"out/host_debug_unopt/flutter_tester",
63+
"flutter/shell/testing/observatory/empty_main.dart"
64+
]
65+
}
66+
]
67+
},
68+
{
69+
"drone_dimensions": [
70+
"device_type=none",
71+
"os=Linux"
72+
],
73+
"dependencies": [
74+
{
75+
"dependency": "arm_tools",
76+
"version": "last_updated:2023-02-03T15:32:01-0800"
77+
}
78+
],
79+
"gn": [
80+
"--android",
81+
"--unoptimized"
82+
],
83+
"name": "android_debug_unopt",
84+
"ninja": {
85+
"config": "android_debug_unopt",
86+
"targets": [
87+
"flutter/impeller",
88+
"flutter/shell/platform/android:android_jar",
89+
"flutter/shell/platform/android:robolectric_tests"
90+
]
91+
},
92+
"tests": [
93+
{
94+
"language": "python3",
95+
"name": "test: Host Tests for android_debug_unopt",
96+
"parameters": [
97+
"--variant",
98+
"android_debug_unopt",
99+
"--type",
100+
"java",
101+
"--engine-capture-core-dump",
102+
"--android-variant",
103+
"android_debug_unopt"
104+
],
105+
"script": "flutter/testing/run_tests.py"
106+
},
107+
{
108+
"language": "python3",
109+
"name": "malioc diff",
110+
"parameters": [
111+
"--before-relative-to-src",
112+
"flutter/impeller/tools/malioc.json",
113+
"--after-relative-to-src",
114+
"out/android_debug_unopt/gen/malioc",
115+
"--print-diff"
116+
],
117+
"script": "flutter/impeller/tools/malioc_diff.py"
118+
}
119+
]
120+
}
121+
]
122+
}

0 commit comments

Comments
 (0)