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

Commit c3e98a0

Browse files
committed
Further shard Android emulator tests
1 parent a46e56f commit c3e98a0

File tree

3 files changed

+82
-22
lines changed

3 files changed

+82
-22
lines changed

.ci.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,26 @@ targets:
6868
- shell/platform/android/**
6969
- testing/scenario_app/**
7070

71+
- name: Linux linux_android_emulator_skia_tests
72+
bringup: true
73+
enabled_branches:
74+
- main
75+
recipe: engine_v2/engine_v2
76+
properties:
77+
config_name: linux_android_emulator_skia
78+
dependencies: >-
79+
[
80+
{"dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd"}
81+
]
82+
timeout: 60
83+
runIf:
84+
- .ci.yaml
85+
- ci/builders/linux_android_emulator.json
86+
- DEPS
87+
- lib/ui/**
88+
- shell/platform/android/**
89+
- testing/scenario_app/**
90+
7191
# TODO(matanlurey): OpenGLES is very flaky, https://github.com/flutter/flutter/issues/143626.
7292
- name: Linux linux_android_emulator_opengles_tests
7393
bringup: true

ci/builders/linux_android_emulator.json

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -58,28 +58,6 @@
5858
"android"
5959
]
6060
},
61-
{
62-
"language": "dart",
63-
"name": "Android Scenario App Integration Tests (Skia)",
64-
"test_dependencies": [
65-
{
66-
"dependency": "android_virtual_device",
67-
"version": "android_34_google_apis_x64.textpb"
68-
},
69-
{
70-
"dependency": "avd_cipd_version",
71-
"version": "build_id:8759428741582061553"
72-
}
73-
],
74-
"contexts": [
75-
"android_virtual_device"
76-
],
77-
"script": "flutter/testing/scenario_app/bin/run_android_tests.dart",
78-
"parameters": [
79-
"--out-dir=../out/android_emulator_debug_x64",
80-
"--no-enable-impeller"
81-
]
82-
},
8361
{
8462
"language": "dart",
8563
"name": "Android Scenario App Integration Tests (Impeller/Vulkan)",
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
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+
"android_emulator_skia_debug_x64"
21+
],
22+
"dependencies": [
23+
{
24+
"dependency": "goldctl",
25+
"version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd"
26+
}
27+
],
28+
"name": "android_emulator_skia_debug_x64",
29+
"ninja": {
30+
"config": "android_emulator_skia_debug_x64",
31+
"targets": [
32+
"flutter/shell/platform/android:flutter_shell_native_unittests",
33+
"flutter/testing/scenario_app"
34+
]
35+
},
36+
"tests": [
37+
{
38+
"language": "dart",
39+
"name": "Android Scenario App Integration Tests (Skia)",
40+
"test_dependencies": [
41+
{
42+
"dependency": "android_virtual_device",
43+
"version": "android_34_google_apis_x64.textpb"
44+
},
45+
{
46+
"dependency": "avd_cipd_version",
47+
"version": "build_id:8759428741582061553"
48+
}
49+
],
50+
"contexts": [
51+
"android_virtual_device"
52+
],
53+
"script": "flutter/testing/scenario_app/bin/run_android_tests.dart",
54+
"parameters": [
55+
"--out-dir=../out/android_emulator_skia_debug_x64",
56+
"--no-enable-impeller"
57+
]
58+
}
59+
]
60+
}
61+
]
62+
}

0 commit comments

Comments
 (0)