From 23688b8eddb5567fbbed9e86d820999e38ef18fc Mon Sep 17 00:00:00 2001 From: godofredoc Date: Thu, 23 Jun 2022 10:47:06 -0700 Subject: [PATCH] Fix mac_ios builders and archive paths in linux host. (flutter/engine#34254) --- .../ci/builders/linux_host_engine.json | 10 ++-- .../flutter/ci/builders/mac_ios_engine.json | 42 +++++++++------ .../ci/builders/mac_ios_engine_profile.json | 51 ++++++++++--------- 3 files changed, 59 insertions(+), 44 deletions(-) diff --git a/engine/src/flutter/ci/builders/linux_host_engine.json b/engine/src/flutter/ci/builders/linux_host_engine.json index 2f57838bbc..f551f606a6 100644 --- a/engine/src/flutter/ci/builders/linux_host_engine.json +++ b/engine/src/flutter/ci/builders/linux_host_engine.json @@ -19,6 +19,8 @@ "ninja": { "config": "host_debug_unopt", "targets": [ + "flutter", + "flutter/sky/packages", "flutter/lib/spirv/test/exception_shaders:spirv_compile_exception_shaders" ] }, @@ -28,13 +30,13 @@ "archives": [ { "name": "host_debug", - "type": "gcs", "base_path": "out/host_debug/zip_archives/", + "type": "gcs", "include_paths": [ "out/host_debug/zip_archives/linux-x64/artifacts.zip", "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/linux-x64/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/linux-x64-flutter-gtk.zip" @@ -74,8 +76,8 @@ "archives": [ { "name": "host_profile", - "type": "gcs", "base_path": "out/host_profile/zip_archives/", + "type": "gcs", "include_paths": [ "out/host_profile/zip_archives/linux-x64-profile/linux-x64-flutter-gtk.zip" ] @@ -123,8 +125,8 @@ "archives": [ { "name": "host_release", - "type": "gcs", "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" diff --git a/engine/src/flutter/ci/builders/mac_ios_engine.json b/engine/src/flutter/ci/builders/mac_ios_engine.json index c007214538..21c700836b 100644 --- a/engine/src/flutter/ci/builders/mac_ios_engine.json +++ b/engine/src/flutter/ci/builders/mac_ios_engine.json @@ -14,7 +14,7 @@ "--simulator", "--no-lto" ], - "name": "ios_debug_sym", + "name": "ios_debug_sim", "ninja": { "config": "ios_debug_sim", "targets": [] @@ -29,25 +29,41 @@ "os=Mac-12" ], "gn": [ - "--bitcode", "--ios", "--runtime-mode", - "debug" + "debug", + "--simulator", + "--simulator-cpu=arm64", + "--no-lto", + "--no-goma" ], - "name": "ios_debug", + "name": "ios_debug_sim_arm64", "ninja": { - "config": "ios_debug", + "config": "ios_debug_sim_arm64", "targets": [] }, "tests": [] }, { - "archives": [], + "archives": [ + { + "base_path": "out/ios_debug/zip_archives/", + "include_paths": [ + ], + "name": "ios_debug" + } + ], "drone_dimensions": [ "device_type=none", "mac_model=Macmini8,1", "os=Mac-12" ], + "gn": [ + "--bitcode", + "--ios", + "--runtime-mode", + "debug" + ], "generators": { "tasks": [ { @@ -58,19 +74,13 @@ } ] }, - "gn": [ - "--bitcode", - "--ios", - "--runtime-mode", - "debug", - "--ios-cpu=arm" - ], - "name": "ios_debug_arm", + "name": "ios_debug", "ninja": { - "config": "ios_debug_arm", + "config": "ios_debug", "targets": [] }, "tests": [] } - ] + ], + "tests": [] } diff --git a/engine/src/flutter/ci/builders/mac_ios_engine_profile.json b/engine/src/flutter/ci/builders/mac_ios_engine_profile.json index 7e174648e6..530ab2f4ef 100644 --- a/engine/src/flutter/ci/builders/mac_ios_engine_profile.json +++ b/engine/src/flutter/ci/builders/mac_ios_engine_profile.json @@ -14,13 +14,37 @@ "--simulator", "--no-lto" ], - "name": "ios_debug_sym", + "name": "ios_debug_sim", "ninja": { "config": "ios_debug_sim", "targets": [] }, "tests": [] }, + { + "archives": [], + "drone_dimensions": [ + "device_type=none", + "mac_model=Macmini8,1", + "os=Mac-12" + ], + "generators": {}, + "gn": [ + "--ios", + "--runtime-mode", + "debug", + "--simulator", + "--simulator-cpu=arm64", + "--no-lto", + "--no-goma" + ], + "name": "ios_debug_sim_arm64", + "ninja": { + "config": "ios_debug_sim_arm64", + "targets": [] + }, + "tests": [] + }, { "archives": [], "drone_dimensions": [ @@ -40,28 +64,7 @@ "targets": [] }, "tests": [] - }, - { - "archives": [], - "drone_dimensions": [ - "device_type=none", - "mac_model=Macmini8,1", - "os=Mac-12" - ], - "generators": {}, - "gn": [ - "--ios", - "--runtime-mode", - "profile", - "--bitcode", - "--ios-cpu=arm" - ], - "name": "ios_profile_arm", - "ninja": { - "config": "ios_profile_arm", - "targets": [] - }, - "tests": [] } - ] + ], + "tests": [] }