From 7c7e36f77b95267aeb4a4e3569f67b09c7f01250 Mon Sep 17 00:00:00 2001 From: godofredoc Date: Fri, 3 Mar 2023 18:55:20 -0800 Subject: [PATCH] Separate desktop builds to its own builder. (flutter/engine#40074) Separate desktop builds to its own builder. --- engine/src/flutter/.ci.yaml | 8 ++ .../builders/linux_host_desktop_engine.json | 105 ++++++++++++++++++ .../ci/builders/linux_host_engine.json | 13 +-- 3 files changed, 116 insertions(+), 10 deletions(-) create mode 100644 engine/src/flutter/ci/builders/linux_host_desktop_engine.json diff --git a/engine/src/flutter/.ci.yaml b/engine/src/flutter/.ci.yaml index ac3beefa30..67008130ab 100644 --- a/engine/src/flutter/.ci.yaml +++ b/engine/src/flutter/.ci.yaml @@ -261,6 +261,14 @@ targets: release_build: "true" config_name: linux_host_engine + - name: Linux linux_host_desktop_engine + bringup: true + recipe: engine_v2/engine_v2 + timeout: 60 + properties: + release_build: "true" + config_name: linux_host_desktop_engine + - name: Linux linux_android_aot_engine recipe: engine_v2/engine_v2 timeout: 60 diff --git a/engine/src/flutter/ci/builders/linux_host_desktop_engine.json b/engine/src/flutter/ci/builders/linux_host_desktop_engine.json new file mode 100644 index 0000000000..f9368b0df8 --- /dev/null +++ b/engine/src/flutter/ci/builders/linux_host_desktop_engine.json @@ -0,0 +1,105 @@ +{ + "builds": [ + { + "archives": [ + { + "name": "host_debug", + "base_path": "out/host_debug/zip_archives/", + "type": "gcs", + "include_paths": [ + "out/host_debug/zip_archives/linux-x64-debug/linux-x64-flutter-gtk.zip" + ] + } + ], + "drone_dimensions": [ + "device_type=none", + "os=Linux" + ], + "gclient_variables": { + "download_android_deps": false + }, + "gn": [ + "--runtime-mode", + "debug", + "--enable-fontconfig", + "--prebuilt-dart-sdk" + ], + "name": "host_debug", + "ninja": { + "config": "host_debug", + "targets": [ + "flutter/shell/platform/linux:flutter_gtk" + ] + }, + "tests": [] + }, + { + "archives": [ + { + "name": "host_profile", + "base_path": "out/host_profile/zip_archives/", + "type": "gcs", + "include_paths": [ + "out/host_profile/zip_archives/linux-x64-profile/linux-x64-flutter-gtk.zip" + ] + } + ], + "drone_dimensions": [ + "device_type=none", + "os=Linux" + ], + "gclient_variables": { + "download_android_deps": false + }, + "gn": [ + "--runtime-mode", + "profile", + "--no-lto", + "--enable-fontconfig", + "--prebuilt-dart-sdk" + ], + "name": "host_profile", + "ninja": { + "config": "host_profile", + "targets": [ + "flutter/shell/platform/linux:flutter_gtk" + ] + }, + "tests": [] + }, + { + "archives": [ + { + "name": "host_release", + "base_path": "out/host_release/zip_archives/", + "type": "gcs", + "include_paths": [ + "out/host_release/zip_archives/linux-x64-release/linux-x64-flutter-gtk.zip" + ] + } + ], + "drone_dimensions": [ + "device_type=none", + "os=Linux" + ], + "gclient_variables": { + "download_android_deps": false + }, + "gn": [ + "--runtime-mode", + "release", + "--enable-fontconfig", + "--prebuilt-dart-sdk" + ], + "name": "host_release", + "ninja": { + "config": "host_release", + "targets": [ + "flutter/shell/platform/linux:flutter_gtk" + ] + }, + "tests": [] + } + ], + "tests": [] +} diff --git a/engine/src/flutter/ci/builders/linux_host_engine.json b/engine/src/flutter/ci/builders/linux_host_engine.json index ad38deabd9..5c90e31788 100644 --- a/engine/src/flutter/ci/builders/linux_host_engine.json +++ b/engine/src/flutter/ci/builders/linux_host_engine.json @@ -77,8 +77,7 @@ "out/host_debug/zip_archives/linux-x64/linux-x64-embedder.zip", "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/linux-x64-debug/linux-x64-flutter-gtk.zip" + "out/host_debug/zip_archives/dart-sdk-linux-x64.zip" ] } ], @@ -105,7 +104,6 @@ "flutter/build/archives:embedder", "flutter/build/archives:flutter_patched_sdk", "flutter/build/dart:copy_dart_sdk", - "flutter/shell/platform/linux:flutter_gtk", "flutter/tools/font-subset" ] }, @@ -131,9 +129,7 @@ "name": "host_profile", "base_path": "out/host_profile/zip_archives/", "type": "gcs", - "include_paths": [ - "out/host_profile/zip_archives/linux-x64-profile/linux-x64-flutter-gtk.zip" - ] + "include_paths": [] } ], "drone_dimensions": [ @@ -157,7 +153,6 @@ "flutter/build/dart:copy_dart_sdk", "flutter/shell/testing", "flutter/tools/path_ops", - "flutter/shell/platform/linux:flutter_gtk", "flutter:unittests" ] }, @@ -184,8 +179,7 @@ "base_path": "out/host_release/zip_archives/", "type": "gcs", "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" + "out/host_release/zip_archives/flutter_patched_sdk_product.zip" ] } ], @@ -217,7 +211,6 @@ "flutter/third_party/txt:txt_benchmarks", "flutter/tools/path_ops", "flutter/build/archives:flutter_patched_sdk", - "flutter/shell/platform/linux:flutter_gtk", "flutter:unittests" ] },