From 69fd1ebf92b612f46e26da4a65e9e702245b1dc9 Mon Sep 17 00:00:00 2001 From: Matan Lurey Date: Tue, 29 Aug 2023 11:34:14 -0700 Subject: [PATCH] Use `runIfNot: ...` to avoid running Fuchsia try-jobs for some changes. (flutter/engine#45134) Closes https://github.com/flutter/flutter/issues/93261. I probably could have been more clever with a regular-expression but this seems easier to read. --------- Co-authored-by: godofredoc --- engine/src/flutter/.ci.yaml | 44 ++++++++++++++++++++++++++++++++----- 1 file changed, 38 insertions(+), 6 deletions(-) diff --git a/engine/src/flutter/.ci.yaml b/engine/src/flutter/.ci.yaml index 6c75e9c400..46236f4f3d 100644 --- a/engine/src/flutter/.ci.yaml +++ b/engine/src/flutter/.ci.yaml @@ -167,6 +167,14 @@ targets: # ensure files from pre-production Fuchsia SDK tests are purged from cache clobber: "true" timeout: 90 + runIfNot: + - lib/web_ui/** + - shell/platform/android/** + - shell/platform/darwin/** + - shell/platform/glfw/** + - shell/platform/linux/** + - shell/platform/windows/** + - web_sdk/** - name: Linux Fuchsia FEMU recipe: engine/femu_test @@ -179,6 +187,14 @@ targets: emulator_arch: "x64" enable_cso: "true" timeout: 60 + runIfNot: + - lib/web_ui/** + - shell/platform/android/** + - shell/platform/darwin/** + - shell/platform/glfw/** + - shell/platform/linux/** + - shell/platform/windows/** + - web_sdk/** - name: Linux Fuchsia arm64 FEMU recipe: engine/femu_test @@ -191,12 +207,14 @@ targets: enable_cso: "true" timeout: 60 bringup: true - - - name: Linux Framework Smoke Tests - recipe: engine/framework_smoke - enabled_branches: - - main - timeout: 60 + runIfNot: + - lib/web_ui/** + - shell/platform/android/** + - shell/platform/darwin/** + - shell/platform/glfw/** + - shell/platform/linux/** + - shell/platform/windows/** + - web_sdk/** - name: Linux linux_fuchsia bringup: true @@ -207,6 +225,20 @@ targets: config_name: linux_fuchsia drone_dimensions: - os=Linux + runIfNot: + - lib/web_ui/** + - shell/platform/android/** + - shell/platform/darwin/** + - shell/platform/glfw/** + - shell/platform/linux/** + - shell/platform/windows/** + - web_sdk/** + + - name: Linux Framework Smoke Tests + recipe: engine/framework_smoke + enabled_branches: + - main + timeout: 60 - name: Linux linux_clang_tidy recipe: engine_v2/engine_v2