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

Commit f292c02

Browse files
committed
Add 34 targets
1 parent f488e97 commit f292c02

File tree

3 files changed

+292
-0
lines changed

3 files changed

+292
-0
lines changed

.ci.yaml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,27 @@ targets:
7373
- testing/scenario_app/**
7474
- testing/skia_gold_client/**
7575

76+
- name: Linux linux_android_emulator_tests_34
77+
bringup: true
78+
enabled_branches:
79+
- main
80+
recipe: engine_v2/engine_v2
81+
properties:
82+
config_name: linux_android_emulator_34
83+
dependencies: >-
84+
[
85+
{"dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd"}
86+
]
87+
timeout: 90
88+
runIf:
89+
- .ci.yaml
90+
- ci/builders/linux_android_emulator.json
91+
- DEPS
92+
- lib/ui/**
93+
- shell/platform/android/**
94+
- testing/scenario_app/**
95+
- testing/skia_gold_client/**
96+
7697
- name: Linux linux_android_emulator_skia_tests
7798
enabled_branches:
7899
- main
@@ -93,6 +114,27 @@ targets:
93114
- testing/scenario_app/**
94115
- testing/skia_gold_client/**
95116

117+
- name: Linux linux_android_emulator_skia_tests_34
118+
bringup: true
119+
enabled_branches:
120+
- main
121+
recipe: engine_v2/engine_v2
122+
properties:
123+
config_name: linux_android_emulator_skia_34
124+
dependencies: >-
125+
[
126+
{"dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd"}
127+
]
128+
timeout: 90
129+
runIf:
130+
- .ci.yaml
131+
- ci/builders/linux_android_emulator.json
132+
- DEPS
133+
- lib/ui/**
134+
- shell/platform/android/**
135+
- testing/scenario_app/**
136+
- testing/skia_gold_client/**
137+
96138
- name: Linux builder_cache
97139
enabled_branches:
98140
- main
Lines changed: 159 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,159 @@
1+
{
2+
"builds": [
3+
{
4+
"drone_dimensions": [
5+
"device_type=none",
6+
"os=Linux",
7+
"kvm=1",
8+
"cores=8"
9+
],
10+
"gclient_variables": {
11+
"use_rbe": true
12+
},
13+
"gn": [
14+
"--android",
15+
"--android-cpu=x64",
16+
"--no-lto",
17+
"--rbe",
18+
"--no-goma",
19+
"--target-dir",
20+
"ci/android_emulator_debug_x64"
21+
],
22+
"dependencies": [
23+
{
24+
"dependency": "goldctl",
25+
"version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd"
26+
}
27+
],
28+
"name": "ci/android_emulator_debug_x64",
29+
"description": "Build for debug mode x64 Android emulator tests, and Impeller scenario app tests.",
30+
"ninja": {
31+
"config": "ci/android_emulator_debug_x64",
32+
"targets": [
33+
"flutter/impeller/toolkit/android:unittests",
34+
"flutter/shell/platform/android:flutter_shell_native_unittests",
35+
"flutter/testing/scenario_app"
36+
]
37+
},
38+
"tests": [
39+
{
40+
"language": "python3",
41+
"name": "Android Unit Tests",
42+
"test_dependencies": [
43+
{
44+
"dependency": "android_virtual_device",
45+
"version": "android_34_google_apis_x64.textpb"
46+
},
47+
{
48+
"dependency": "avd_cipd_version",
49+
"version": "build_id:8740267484269553649"
50+
}
51+
],
52+
"contexts": [
53+
"android_virtual_device"
54+
],
55+
"script": "flutter/testing/run_tests.py",
56+
"parameters": [
57+
"--android-variant",
58+
"ci/android_emulator_debug_x64",
59+
"--type",
60+
"android"
61+
]
62+
},
63+
{
64+
"language": "dart",
65+
"name": "skia_gold_client/e2e_test",
66+
"script": "flutter/testing/skia_gold_client/tool/e2e_test.dart",
67+
"max_attempts": 1
68+
},
69+
{
70+
"language": "dart",
71+
"name": "Android Scenario App Integration Tests (Impeller/Vulkan)",
72+
"test_timeout_secs": 900,
73+
"max_attempts": 2,
74+
"test_dependencies": [
75+
{
76+
"dependency": "android_virtual_device",
77+
"version": "android_34_google_apis_x64.textpb"
78+
},
79+
{
80+
"dependency": "avd_cipd_version",
81+
"version": "build_id:8740267484269553649"
82+
}
83+
],
84+
"contexts": [
85+
"android_virtual_device"
86+
],
87+
"script": "flutter/testing/scenario_app/bin/run_android_tests.dart",
88+
"parameters": [
89+
"--out-dir=../out/ci/android_emulator_debug_x64",
90+
"--enable-impeller",
91+
"--impeller-backend=vulkan"
92+
]
93+
}
94+
]
95+
},
96+
{
97+
"drone_dimensions": [
98+
"device_type=none",
99+
"os=Linux",
100+
"kvm=1",
101+
"cores=8"
102+
],
103+
"gclient_variables": {
104+
"use_rbe": true
105+
},
106+
"gn": [
107+
"--android",
108+
"--android-cpu=x86",
109+
"--no-lto",
110+
"--rbe",
111+
"--no-goma",
112+
"--target-dir",
113+
"ci/android_emulator_debug_x86"
114+
],
115+
"dependencies": [
116+
{
117+
"dependency": "goldctl",
118+
"version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd"
119+
}
120+
],
121+
"name": "ci/android_emulator_debug_x86",
122+
"description": "Build for debug mode x86 Android emulator tests.",
123+
"ninja": {
124+
"config": "ci/android_emulator_debug_x86",
125+
"targets": [
126+
"flutter/impeller/toolkit/android:unittests",
127+
"flutter/shell/platform/android:flutter_shell_native_unittests",
128+
"flutter/testing/scenario_app"
129+
]
130+
},
131+
"tests": [
132+
{
133+
"language": "python3",
134+
"name": "Android Unit Tests (API 28)",
135+
"test_dependencies": [
136+
{
137+
"dependency": "android_virtual_device",
138+
"version": "android_28_google_apis_x86.textpb"
139+
},
140+
{
141+
"dependency": "avd_cipd_version",
142+
"version": "build_id:8740267484269553649"
143+
}
144+
],
145+
"contexts": [
146+
"android_virtual_device"
147+
],
148+
"script": "flutter/testing/run_tests.py",
149+
"parameters": [
150+
"--android-variant",
151+
"ci/android_emulator_debug_x86",
152+
"--type",
153+
"android"
154+
]
155+
}
156+
]
157+
}
158+
]
159+
}
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
{
2+
"builds": [
3+
{
4+
"drone_dimensions": [
5+
"device_type=none",
6+
"os=Linux",
7+
"kvm=1",
8+
"cores=8"
9+
],
10+
"gclient_variables": {
11+
"use_rbe": true
12+
},
13+
"gn": [
14+
"--android",
15+
"--android-cpu=x64",
16+
"--no-lto",
17+
"--rbe",
18+
"--no-goma",
19+
"--target-dir",
20+
"ci/android_emulator_skia_debug_x64"
21+
],
22+
"dependencies": [
23+
{
24+
"dependency": "goldctl",
25+
"version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd"
26+
}
27+
],
28+
"name": "ci/android_emulator_skia_debug_x64",
29+
"description": "Build for debug mode x64 Android Skia scenario app tests.",
30+
"ninja": {
31+
"config": "ci/android_emulator_skia_debug_x64",
32+
"targets": [
33+
"flutter/impeller/toolkit/android:unittests",
34+
"flutter/shell/platform/android:flutter_shell_native_unittests",
35+
"flutter/testing/scenario_app"
36+
]
37+
},
38+
"tests": [
39+
{
40+
"language": "dart",
41+
"name": "Android Scenario App Integration Tests (Skia)",
42+
"test_timeout_secs": 900,
43+
"max_attempts": 2,
44+
"test_dependencies": [
45+
{
46+
"dependency": "android_virtual_device",
47+
"version": "android_34_google_apis_x64.textpb"
48+
},
49+
{
50+
"dependency": "avd_cipd_version",
51+
"version": "build_id:8740267484269553649"
52+
}
53+
],
54+
"contexts": [
55+
"android_virtual_device"
56+
],
57+
"script": "flutter/testing/scenario_app/bin/run_android_tests.dart",
58+
"parameters": [
59+
"--out-dir=../out/ci/android_emulator_skia_debug_x64",
60+
"--no-enable-impeller"
61+
]
62+
},
63+
{
64+
"language": "dart",
65+
"name": "Android Scenario App Integration Tests (Skia, SurfaceTexture)",
66+
"test_timeout_secs": 900,
67+
"max_attempts": 2,
68+
"test_dependencies": [
69+
{
70+
"dependency": "android_virtual_device",
71+
"version": "android_34_google_apis_x64.textpb"
72+
},
73+
{
74+
"dependency": "avd_cipd_version",
75+
"version": "build_id:8740267484269553649"
76+
}
77+
],
78+
"contexts": [
79+
"android_virtual_device"
80+
],
81+
"script": "flutter/testing/scenario_app/bin/run_android_tests.dart",
82+
"parameters": [
83+
"--out-dir=../out/ci/android_emulator_skia_debug_x64",
84+
"--no-enable-impeller",
85+
"--force-surface-producer-surface-texture"
86+
]
87+
}
88+
]
89+
}
90+
]
91+
}

0 commit comments

Comments
 (0)