diff --git a/.ci.yaml b/.ci.yaml index a52dd61613ac1..0d4e70f89518d 100644 --- a/.ci.yaml +++ b/.ci.yaml @@ -295,6 +295,14 @@ targets: release_build: "true" config_name: linux_web_engine + - name: Linux linux_unopt + bringup: true + recipe: engine_v2/engine_v2 + timeout: 60 + properties: + release_build: "true" + config_name: linux_unopt + - name: Linux Web Framework tests recipe: engine/web_engine_framework enabled_branches: diff --git a/ci/builders/linux_unopt.json b/ci/builders/linux_unopt.json new file mode 100644 index 0000000000000..f718a4588a6c4 --- /dev/null +++ b/ci/builders/linux_unopt.json @@ -0,0 +1,122 @@ +{ + "builds": [ + { + "drone_dimensions": [ + "device_type=none", + "os=Linux" + ], + "gclient_variables": { + "download_android_deps": false + }, + "gn": [ + "--runtime-mode", + "debug", + "--unoptimized", + "--prebuilt-dart-sdk", + "--asan", + "--lsan", + "--dart-debug" + ], + "name": "host_debug_unopt", + "ninja": { + "config": "host_debug_unopt", + "targets": [ + "flutter/tools/font-subset", + "flutter:unittests", + "flutter/build/dart:copy_dart_sdk", + "flutter/shell/platform/common/client_wrapper:client_wrapper_unittests", + "flutter/shell/platform/common:common_cpp_core_unittests", + "flutter/shell/platform/common:common_cpp_unittests", + "flutter/shell/platform/glfw/client_wrapper:client_wrapper_glfw_unittests", + "flutter/shell/testing", + "sky_engine" + ] + }, + "tests": [ + { + "name": "test:format_and_dart_test", + "script": "flutter/ci/format.sh" + }, + { + "language": "python3", + "name": "test: Host_Tests_for_host_debug_unopt", + "parameters": [ + "--variant", + "host_debug_unopt", + "--type", + "dart,engine", + "--engine-capture-core-dump", + "--use-sanitizer-suppressions" + ], + "script": "flutter/testing/run_tests.py" + }, + { + "name": "analyze_dart_ui", + "script": "flutter/ci/analyze.sh" + }, + { + "language": "dart", + "name": "test: observatory and service protocol", + "script": "flutter/shell/testing/observatory/test.dart", + "parameters": [ + "out/host_debug_unopt/flutter_tester", + "flutter/shell/testing/observatory/empty_main.dart" + ] + } + ] + }, + { + "drone_dimensions": [ + "device_type=none", + "os=Linux" + ], + "dependencies": [ + { + "dependency": "arm_tools", + "version": "last_updated:2023-02-03T15:32:01-0800" + } + ], + "gn": [ + "--android", + "--unoptimized" + ], + "name": "android_debug_unopt", + "ninja": { + "config": "android_debug_unopt", + "targets": [ + "flutter/impeller", + "flutter/shell/platform/android:android_jar", + "flutter/shell/platform/android:robolectric_tests" + ] + }, + "tests": [ + { + "language": "python3", + "name": "test: Host Tests for android_debug_unopt", + "parameters": [ + "--variant", + "android_debug_unopt", + "--type", + "java", + "--engine-capture-core-dump", + "--android-variant", + "android_debug_unopt" + ], + "script": "flutter/testing/run_tests.py" + }, + { + "language": "python3", + "name": "malioc diff", + "parameters": [ + "--before-relative-to-src", + "flutter/impeller/tools/malioc.json", + "--after-relative-to-src", + "out/android_debug_unopt/gen/malioc", + "--print-diff" + ], + "script": "flutter/impeller/tools/malioc_diff.py" + } + ] + } + ] +}