From 9ebd172442d4fd0562e218a63837d3b4b72a4bcf Mon Sep 17 00:00:00 2001 From: Matan Lurey Date: Mon, 27 Jan 2025 16:29:28 -0800 Subject: [PATCH] Add missing `properties: ...` and move to presubmit. (#162170) Closes https://github.com/flutter/flutter/issues/160701. Resolves https://github.com/flutter/flutter/issues/160701#issuecomment-2613078030 and moves to presubmit (which means this PR shouldn't be able to land until it works). --- engine/src/flutter/.ci.yaml | 21 ----------- .../flutter/ci/builders/mac_clang_tidy.json | 35 ++++++++++++++++--- 2 files changed, 30 insertions(+), 26 deletions(-) diff --git a/engine/src/flutter/.ci.yaml b/engine/src/flutter/.ci.yaml index 2ea5523b59..616d4a033b 100644 --- a/engine/src/flutter/.ci.yaml +++ b/engine/src/flutter/.ci.yaml @@ -459,7 +459,6 @@ targets: - name: Linux mac_clang_tidy recipe: engine_v2/engine_v2 - bringup: true properties: config_name: mac_clang_tidy runIf: @@ -477,26 +476,6 @@ targets: # at https://github.com/flutter/flutter/issues/152186. cores: "8" - - name: Mac mac_clang_tidy - recipe: engine_v2/engine_v2 - timeout: 120 - properties: - config_name: mac_clang_tidy - runIf: - - DEPS - - engine/src/flutter/.ci.yaml - - engine/src/flutter/tools/clang_tidy/** - - engine/src/flutter/ci/builders/** - - engine/src/flutter/ci/clang_tidy.sh - - "engine/src/flutter/**.h" - - "engine/src/flutter/**.c" - - "engine/src/flutter/**.cc" - - "engine/src/flutter/**.fbs" - - "engine/src/flutter/**.frag" - - "engine/src/flutter/**.vert" - - "engine/src/flutter/**.m" - - "engine/src/flutter/**.mm" - - name: Mac mac_host_engine recipe: engine_v2/engine_v2 timeout: 240 diff --git a/engine/src/flutter/ci/builders/mac_clang_tidy.json b/engine/src/flutter/ci/builders/mac_clang_tidy.json index 8b2df3204a..2e83f228e1 100644 --- a/engine/src/flutter/ci/builders/mac_clang_tidy.json +++ b/engine/src/flutter/ci/builders/mac_clang_tidy.json @@ -117,7 +117,12 @@ "max_attempts": 1, "script": "flutter/ci/clang_tidy.sh" } - ] + ], + "properties": { + "$flutter/osx_sdk": { + "sdk_version": "15a240d" + } + } }, { "name": "test: lint host_debug 1", @@ -167,7 +172,12 @@ "max_attempts": 1, "script": "flutter/ci/clang_tidy.sh" } - ] + ], + "properties": { + "$flutter/osx_sdk": { + "sdk_version": "15a240d" + } + } }, { "name": "test: lint host_debug 2", @@ -217,7 +227,12 @@ "max_attempts": 1, "script": "flutter/ci/clang_tidy.sh" } - ] + ], + "properties": { + "$flutter/osx_sdk": { + "sdk_version": "15a240d" + } + } }, { "name": "test: lint host_debug 3", @@ -267,7 +282,12 @@ "max_attempts": 1, "script": "flutter/ci/clang_tidy.sh" } - ] + ], + "properties": { + "$flutter/osx_sdk": { + "sdk_version": "15a240d" + } + } }, { "name": "test: lint ios_debug_sim", @@ -335,7 +355,12 @@ "max_attempts": 1, "script": "flutter/ci/clang_tidy.sh" } - ] + ], + "properties": { + "$flutter/osx_sdk": { + "sdk_version": "15a240d" + } + } } ] }