Cherry pick in unopt targets
diff --git a/.ci.yaml b/.ci.yaml
index 18c7d96..adb7024 100644
--- a/.ci.yaml
+++ b/.ci.yaml
@@ -298,6 +298,14 @@
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:
@@ -375,6 +383,14 @@
config_name: mac_unopt
add_recipes_cq: "true"
+ - name: Linux mac_unopt
+ bringup: true
+ recipe: engine_v2/engine_v2
+ properties:
+ config_name: mac_unopt
+ add_recipes_cq: "true"
+ timeout: 60
+
- name: Mac Unopt
recipe: engine/engine_unopt
properties:
@@ -498,6 +514,13 @@
release_build: "true"
config_name: windows_arm_host_engine
+ - name: Windows windows_unopt
+ bringup: true
+ recipe: engine_v2/builder
+ timeout: 60
+ properties:
+ config_name: windows_unopt
+
- name: Windows Unopt
recipe: engine/engine_unopt
properties:
diff --git a/ci/builders/linux_unopt.json b/ci/builders/linux_unopt.json
new file mode 100644
index 0000000..f718a45
--- /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"
+ }
+ ]
+ }
+ ]
+}
diff --git a/ci/builders/standalone/windows_unopt.json b/ci/builders/standalone/windows_unopt.json
new file mode 100644
index 0000000..7083919
--- /dev/null
+++ b/ci/builders/standalone/windows_unopt.json
@@ -0,0 +1,39 @@
+{
+ "drone_dimensions": [
+ "device_type=none",
+ "os=Windows-10"
+ ],
+ "gclient_variables": {
+ "download_android_deps": false
+ },
+ "dependencies": [
+ {
+ "dependency": "certs",
+ "version": "version:9563bb"
+ }
+ ],
+ "gn": [
+ "--runtime-mode",
+ "debug",
+ "--unoptimized",
+ "--prebuilt-dart-sdk"
+ ],
+ "name": "host_debug_unopt",
+ "ninja": {
+ "config": "host_debug_unopt"
+ },
+ "tests": [
+ {
+ "language": "python3",
+ "name": "test: Host Tests for host_debug_unopt",
+ "parameters": [
+ "--variant",
+ "host_debug_unopt",
+ "--type",
+ "engine",
+ "--engine-capture-core-dump"
+ ],
+ "script": "flutter/testing/run_tests.py"
+ }
+ ]
+}