diff --git a/engine/src/flutter/.ci.yaml b/engine/src/flutter/.ci.yaml index 3d4daabdb1..d8063504f6 100644 --- a/engine/src/flutter/.ci.yaml +++ b/engine/src/flutter/.ci.yaml @@ -210,6 +210,15 @@ targets: timeout: 90 scheduler: luci + - name: Linux linux_host_engine + recipe: engine_v2/engine_v2 + bringup: true + timeout: 60 + properties: + config_name: linux_host_engine + environment: Staging + scheduler: luci + - name: Linux Web Engine recipe: engine/web_engine properties: diff --git a/engine/src/flutter/ci/builders/linux_host_engine.json b/engine/src/flutter/ci/builders/linux_host_engine.json new file mode 100644 index 0000000000..5c09d69034 --- /dev/null +++ b/engine/src/flutter/ci/builders/linux_host_engine.json @@ -0,0 +1,172 @@ +{ + "builds": [ + { + "archives": [], + "drone_dimensions": [ + "device_type=none", + "os=Linux" + ], + "gclient_custom_vars": { + "download_android_deps": false + }, + "gn": [ + "--runtime-mode", + "debug", + "--unoptimized", + "--prebuilt-dart-sdk" + ], + "name": "host_debug_unopt", + "ninja": { + "config": "host_debug_unopt", + "targets": [ + "flutter/lib/spirv/test/exception_shaders:spirv_compile_exception_shaders" + ] + }, + "tests": [] + }, + { + "archives": [ + { + "base_path": "out/host_debug/zip_archives/", + "include_paths": [ + "out/host_debug/zip_archives/linux-x64/artifacts.zip", + "out/host_debug/zip_archives/linux-x64/linux-x64-embedder", + "out/host_debug/zip_archives/linux-x64/font-subset.zip", + "out/host_debug/zip_archives/flutter_patched_sdk.zip", + "out/host_debug/zip_archives/dart-sdk-linux-x64.zip", + "out/host_debug/zip_archives/flutter-web-sdk-linux-x64.zip", + "out/host_debug/zip_archives/linux-x64-flutter-gtk.zip" + ], + "name": "host_debug" + } + ], + "drone_dimensions": [ + "device_type=none", + "os=Linux" + ], + "gclient_custom_vars": { + "download_android_deps": false + }, + "gn": [ + "--runtime-mode", + "debug", + "--full-dart-sdk", + "--prebuilt-dart-sdk", + "--build-embedder-examples" + ], + "name": "host_debug", + "ninja": { + "config": "host_debug", + "targets": [ + "flutter/build/archives:artifacts", + "flutter/build/archives:embedder", + "flutter/build/archives:flutter_patched_sdk", + "flutter/build/archives:dart_sdk_archive", + "flutter/build/archives:flutter_web_sdk", + "flutter/tools/font-subset", + "flutter/shell/platform/linux:flutter_gtk" + ] + }, + "tests": [] + }, + { + "archives": [ + { + "base_path": "out/host_profile/zip_archives/", + "include_paths": [ + "out/host_profile/zip_archives/linux-x64-profile/linux-x64-flutter-gtk.zip" + ], + "name": "host_profile" + } + ], + "drone_dimensions": [ + "device_type=none", + "os=Linux" + ], + "gclient_custom_vars": { + "download_android_deps": false + }, + "gn": [ + "--runtime-mode", + "profile", + "--no-lto", + "--prebuilt-dart-sdk", + "--build-embedder-examples" + ], + "name": "host_profile", + "ninja": { + "config": "host_profile", + "targets": [ + "flutter:unittests", + "flutter/shell/platform/linux:flutter_gtk" + ] + }, + "tests": [ + { + "language": "python", + "name": "Host Tests for host_profile", + "parameters": [ + "--variant", + "host_profile", + "--type", + "engine", + "--engine-capture-core-dump" + ], + "script": "flutter/testing/run_tests.py", + "type": "local" + } + ] + }, + { + "archives": [ + { + "base_path": "out/host_release/zip_archives/", + "include_paths": [ + "out/host_release/zip_archives/flutter_patched_sdk_product.zip", + "out/host_release/zip_archives/linux-x64-release/linux-x64-flutter-gtk.zip" + ], + "name": "host_release" + } + ], + "drone_dimensions": [ + "device_type=none", + "os=Linux" + ], + "gclient_custom_vars": { + "download_android_deps": false + }, + "gn": [ + "--runtime-mode", + "release", + "--prebuilt-dart-sdk", + "--build-embedder-examples" + ], + "name": "host_release", + "ninja": { + "config": "host_release", + "targets": [ + "flutter:unittests", + "flutter/build/archives:flutter_patched_sdk", + "flutter/shell/platform/linux:flutter_gtk", + "flutter/build/archives:flutter_web_sdk" + ] + }, + "tests": [ + { + "language": "python", + "name": "Host Tests for host_release", + "parameters": [ + "--variant", + "host_release", + "--type", + "engine", + "--engine-capture-core-dump" + ], + "script": "flutter/testing/run_tests.py", + "type": "local" + } + ] + } + ], + "tests": [] +}