diff --git a/engine/src/flutter/.ci.yaml b/engine/src/flutter/.ci.yaml index 24c7b488bd2..9059379688c 100644 --- a/engine/src/flutter/.ci.yaml +++ b/engine/src/flutter/.ci.yaml @@ -457,6 +457,26 @@ targets: # at https://github.com/flutter/flutter/issues/152186. cores: "8" + - name: Linux mac_clang_tidy + recipe: engine_v2/engine_v2 + bringup: true + properties: + config_name: mac_clang_tidy + runIf: + - DEPS + - engine/src/flutter/.ci.yaml + - "engine/src/flutter/**.(h|c|cc|fbs|frag|vert|m|mm)" + # Do not remove(https://github.com/flutter/flutter/issues/144644) + # Scheduler will fail to get the platform + drone_dimensions: + - os=Linux + dimensions: + # This is needed so that orchestrators that only spawn subbuilds are not + # assigned to the large 32 core workers when doing release builds. + # For more details see the issue + # at https://github.com/flutter/flutter/issues/152186. + cores: "8" + - name: Mac mac_clang_tidy recipe: engine_v2/engine_v2 timeout: 120 diff --git a/engine/src/flutter/ci/builders/mac_clang_tidy.json b/engine/src/flutter/ci/builders/mac_clang_tidy.json index 46ce63796af..8b2df3204a6 100644 --- a/engine/src/flutter/ci/builders/mac_clang_tidy.json +++ b/engine/src/flutter/ci/builders/mac_clang_tidy.json @@ -26,6 +26,11 @@ "description": "A debug mode macOS host build used only as the basis for a clang-tidy run.", "ninja": { "config": "ci/host_debug_clang_tidy" + }, + "properties": { + "$flutter/osx_sdk": { + "sdk_version": "15a240d" + } } }, { @@ -55,6 +60,11 @@ "description": "A debug mode iOS simulator build used only as the basis for a clang-tidy run.", "ninja": { "config": "ci/ios_debug_sim_clang_tidy" + }, + "properties": { + "$flutter/osx_sdk": { + "sdk_version": "15a240d" + } } } ],