diff --git a/engine/src/flutter/.ci.yaml b/engine/src/flutter/.ci.yaml index c8cf5f1127..02f35d27b0 100644 --- a/engine/src/flutter/.ci.yaml +++ b/engine/src/flutter/.ci.yaml @@ -102,6 +102,16 @@ targets: android_sdk_preview_license: \n84831b9409646a918e30573bab4c9c91346d8abd timeout: 60 + - name: Linux linux_android_emulator_tests + bringup: true + enabled_branches: + - main + recipe: engine_v2/builder + presubmit: false + properties: + config_name: linux_android_emulator + timeout: 60 + - name: Linux Android Emulator Tests recipe: engine/scenarios enabled_branches: diff --git a/engine/src/flutter/ci/builders/standalone/linux_android_emulator.json b/engine/src/flutter/ci/builders/standalone/linux_android_emulator.json new file mode 100644 index 0000000000..e8c392e56a --- /dev/null +++ b/engine/src/flutter/ci/builders/standalone/linux_android_emulator.json @@ -0,0 +1,46 @@ +{ + "drone_dimensions": [ + "device_type=none", + "os=Linux" + ], + "gn": [ + "--android", + "--android-cpu=x64", + "--no-lto" + ], + "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", + "contexts": [ + "android_virtual_device" + ], + "parameters": [ + "--android-variant", + "android_debug_x64", + "--type", + "android" + ], + "script": "flutter/testing/run_tests.py" + }, + { + "language": "bash", + "name": "Scenario App Integration Tests", + "contexts": [ + "android_virtual_device" + ], + "parameters": [ + "android_debug_x64" + ], + "script": "flutter/testing/scenario_app/run_android_tests.sh" + } + ] +}