mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
[Android] Re-land "Re-land 'Add target to have linux_android_emulator_tests run on AVDs with Android 33 & 34'" (flutter/engine#49101)
Re-lands https://github.com/flutter/engine/pull/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
This commit is contained in:
parent
27b91a4e08
commit
6252becd06
@ -62,6 +62,22 @@ targets:
|
||||
- lib/ui/**
|
||||
- shell/platform/android/**
|
||||
|
||||
# Task to run Linux linux_android_emulator_tests on AVDs running Android 33
|
||||
# instead of 34 for investigating https://github.com/flutter/flutter/issues/137947.
|
||||
- name: Linux linux_android_emulator_tests_api_33
|
||||
bringup: true
|
||||
enabled_branches:
|
||||
- main
|
||||
recipe: engine_v2/engine_v2
|
||||
properties:
|
||||
config_name: linux_android_emulator_api_33
|
||||
timeout: 60
|
||||
runIf:
|
||||
- .ci.yaml
|
||||
- DEPS
|
||||
- lib/ui/**
|
||||
- shell/platform/android/**
|
||||
|
||||
- name: Linux builder_cache
|
||||
enabled_branches:
|
||||
- main
|
||||
|
||||
@ -0,0 +1,66 @@
|
||||
{
|
||||
"builds": [
|
||||
{
|
||||
"drone_dimensions": [
|
||||
"device_type=none",
|
||||
"os=Linux",
|
||||
"kvm=1",
|
||||
"cores=8"
|
||||
],
|
||||
"gn": [
|
||||
"--android",
|
||||
"--android-cpu=x64",
|
||||
"--no-lto",
|
||||
"--rbe",
|
||||
"--no-goma"
|
||||
],
|
||||
"name": "android_debug_x64",
|
||||
"ninja": {
|
||||
"config": "android_debug_x64",
|
||||
"targets": [
|
||||
"flutter/shell/platform/android:flutter_shell_native_unittests",
|
||||
"flutter/testing/scenario_app"
|
||||
]
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
"language": "python3",
|
||||
"name": "Android Unit Tests",
|
||||
"test_dependencies": [
|
||||
{
|
||||
"dependency": "android_virtual_device",
|
||||
"version": "33"
|
||||
}
|
||||
],
|
||||
"contexts": [
|
||||
"android_virtual_device"
|
||||
],
|
||||
"script": "flutter/testing/run_tests.py",
|
||||
"parameters": [
|
||||
"--android-variant",
|
||||
"android_debug_x64",
|
||||
"--type",
|
||||
"android"
|
||||
]
|
||||
},
|
||||
{
|
||||
"language": "bash",
|
||||
"name": "Scenario App Integration Tests",
|
||||
"test_dependencies": [
|
||||
{
|
||||
"dependency": "android_virtual_device",
|
||||
"version": "33"
|
||||
}
|
||||
],
|
||||
"contexts": [
|
||||
"android_virtual_device"
|
||||
],
|
||||
"script": "flutter/testing/scenario_app/run_android_tests.sh",
|
||||
"parameters": [
|
||||
"android_debug_x64"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user