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

Commit 06f9002

Browse files
authored
[Android] Re-land "Add target to have linux_android_emulator_tests run on AVDs with Android 33 & 34" (#48936)
Re-lands #48811 with corrected config file name. [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
1 parent 67d45a6 commit 06f9002

File tree

2 files changed

+81
-0
lines changed

2 files changed

+81
-0
lines changed

.ci.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,21 @@ targets:
6565
- lib/ui/**
6666
- shell/platform/android/**
6767

68+
# Task to run Linux linux_android_emulator_tests on AVDs running Android 33
69+
# instead of 34 for investigating https://github.com/flutter/flutter/issues/137947.
70+
- name: Linux linux_android_emulator_tests_api_33
71+
bringup: true
72+
enabled_branches:
73+
- main
74+
recipe: engine_v2/engine_v2
75+
properties:
76+
config_name: linux_android_emulator_api_33
77+
timeout: 60
78+
runIf:
79+
- .ci.yaml
80+
- lib/ui/**
81+
- shell/platform/android/**
82+
6883
- name: Linux builder_cache
6984
enabled_branches:
7085
- 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)