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

Commit cd90498

Browse files
authored
[Android] Re-land "Re-land 'Add target to have linux_android_emulator_tests run on AVDs with Android 33 & 34'" (#49101)
Re-lands #48936 that was reverted due to missing `DEPS` dependency (added). [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
1 parent 5222440 commit cd90498

File tree

2 files changed

+82
-0
lines changed

2 files changed

+82
-0
lines changed

.ci.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,22 @@ targets:
6262
- lib/ui/**
6363
- shell/platform/android/**
6464

65+
# Task to run Linux linux_android_emulator_tests on AVDs running Android 33
66+
# instead of 34 for investigating https://github.com/flutter/flutter/issues/137947.
67+
- name: Linux linux_android_emulator_tests_api_33
68+
bringup: true
69+
enabled_branches:
70+
- main
71+
recipe: engine_v2/engine_v2
72+
properties:
73+
config_name: linux_android_emulator_api_33
74+
timeout: 60
75+
runIf:
76+
- .ci.yaml
77+
- DEPS
78+
- lib/ui/**
79+
- shell/platform/android/**
80+
6581
- name: Linux builder_cache
6682
enabled_branches:
6783
- main
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
"builds": [
3+
{
4+
"drone_dimensions": [
5+
"device_type=none",
6+
"os=Linux",
7+
"kvm=1",
8+
"cores=8"
9+
],
10+
"gn": [
11+
"--android",
12+
"--android-cpu=x64",
13+
"--no-lto",
14+
"--rbe",
15+
"--no-goma"
16+
],
17+
"name": "android_debug_x64",
18+
"ninja": {
19+
"config": "android_debug_x64",
20+
"targets": [
21+
"flutter/shell/platform/android:flutter_shell_native_unittests",
22+
"flutter/testing/scenario_app"
23+
]
24+
},
25+
"tests": [
26+
{
27+
"language": "python3",
28+
"name": "Android Unit Tests",
29+
"test_dependencies": [
30+
{
31+
"dependency": "android_virtual_device",
32+
"version": "33"
33+
}
34+
],
35+
"contexts": [
36+
"android_virtual_device"
37+
],
38+
"script": "flutter/testing/run_tests.py",
39+
"parameters": [
40+
"--android-variant",
41+
"android_debug_x64",
42+
"--type",
43+
"android"
44+
]
45+
},
46+
{
47+
"language": "bash",
48+
"name": "Scenario App Integration Tests",
49+
"test_dependencies": [
50+
{
51+
"dependency": "android_virtual_device",
52+
"version": "33"
53+
}
54+
],
55+
"contexts": [
56+
"android_virtual_device"
57+
],
58+
"script": "flutter/testing/scenario_app/run_android_tests.sh",
59+
"parameters": [
60+
"android_debug_x64"
61+
]
62+
}
63+
]
64+
}
65+
]
66+
}

0 commit comments

Comments
 (0)