From 1eda9777b32d7109cf17d1cb23295ca2645323b8 Mon Sep 17 00:00:00 2001 From: godofredoc Date: Fri, 6 May 2022 16:44:04 -0700 Subject: [PATCH] Add engine v2 linux arm host engine. (flutter/engine#33186) --- engine/src/flutter/.ci.yaml | 8 ++ .../ci/builders/linux_arm_host_engine.json | 112 ++++++++++++++++++ 2 files changed, 120 insertions(+) create mode 100644 engine/src/flutter/ci/builders/linux_arm_host_engine.json diff --git a/engine/src/flutter/.ci.yaml b/engine/src/flutter/.ci.yaml index d5b73436b3..c93763c1c5 100644 --- a/engine/src/flutter/.ci.yaml +++ b/engine/src/flutter/.ci.yaml @@ -184,6 +184,14 @@ targets: build_host: "true" timeout: 90 + - name: Linux linux_arm_host_engine + recipe: engine_v2/engine_v2 + bringup: true + timeout: 60 + properties: + config_name: linux_arm_host_engine + environment: Staging + - name: Linux linux_host_engine recipe: engine_v2/engine_v2 bringup: true diff --git a/engine/src/flutter/ci/builders/linux_arm_host_engine.json b/engine/src/flutter/ci/builders/linux_arm_host_engine.json new file mode 100644 index 0000000000..7a33a441ee --- /dev/null +++ b/engine/src/flutter/ci/builders/linux_arm_host_engine.json @@ -0,0 +1,112 @@ +{ + "builds": [ + { + "archives": [ + { + "base_path": "out/linux_profile_arm64/zip_archives/", + "include_paths": [ + "out/linux_profile_arm64/zip_archives/linux-arm64-profile/linux-arm64-flutter-gtk.zip" + ], + "name": "linux_profile_arm64" + } + ], + "drone_dimensions": [ + "device_type=none", + "os=Linux" + ], + "gclient_custom_vars": { + "download_android_deps": false + }, + "gn": [ + "--runtime-mode", + "profile", + "--no-lto", + "--target-os=linux", + "--linux-cpu=arm64", + "--prebuilt-dart-sdk" + ], + "name": "linux_profile_arm64", + "ninja": { + "config": "linux_profile_arm64", + "targets": [ + "flutter/shell/platform/linux:flutter_gtk" + ] + }, + "tests": [] + }, + { + "archives": [ + { + "base_path": "out/linux_debug_arm64/zip_archives/", + "include_paths": [ + "out/linux_debug_arm64/zip_archives/linux-arm64/artifacts.zip", + "out/linux_debug_arm64/zip_archives/linux-arm64/font-subset.zip", + "out/linux_debug_arm64/zip_archives/linux-arm64-debug/linux-arm64-flutter-gtk.zip", + "out/linux_debug_arm64/zip_archives/dart-sdk-linux-arm64.zip" + ], + "name": "linux_debug_arm64" + } + ], + "drone_dimensions": [ + "device_type=none", + "os=Linux" + ], + "gclient_custom_vars": { + "download_android_deps": false + }, + "gn": [ + "--runtime-mode", + "debug", + "--full-dart-sdk", + "--target-os=linux", + "--linux-cpu=arm64", + "--prebuilt-dart-sdk" + ], + "name": "linux_debug_arm64", + "ninja": { + "config": "linux_debug_arm64", + "targets": [ + "flutter/build/archives:artifacts", + "flutter/build/archives:dart_sdk_archive", + "flutter/tools/font-subset", + "flutter/shell/platform/linux:flutter_gtk" + ] + }, + "tests": [] + }, + { + "archives": [ + { + "base_path": "out/linux_release_arm64/zip_archives/", + "include_paths": [ + "out/linux_release_arm64/zip_archives/linux-arm64-release/linux-arm64-flutter-gtk.zip" + ], + "name": "linux_release_arm64" + } + ], + "drone_dimensions": [ + "device_type=none", + "os=Linux" + ], + "gclient_custom_vars": { + "download_android_deps": false + }, + "gn": [ + "--runtime-mode", + "release", + "--target-os=linux", + "--linux-cpu=arm64", + "--prebuilt-dart-sdk" + ], + "name": "linux_release_arm64", + "ninja": { + "config": "linux_release_arm64", + "targets": [ + "flutter/shell/platform/linux:flutter_gtk" + ] + }, + "tests": [] + } + ], + "tests": [] +}