diff --git a/.ci.yaml b/.ci.yaml index bc1feca37966..18525998967e 100644 --- a/.ci.yaml +++ b/.ci.yaml @@ -25,8 +25,32 @@ platform_properties: ] device_type: none os: Windows + mac_x64: + properties: + dependencies: >- + [ + {"dependency": "xcode", "version": "14a5294e"}, + {"dependency": "gems", "version": "v3.3.14"} + ] + os: Mac-12 + device_type: none + cpu: x86 + xcode: 14a5294e # xcode 14.0 beta 5 + targets: + # TODO(stuartmorgan): Move this to ARM once google_maps_flutter has ARM + # support. `pod lint` makes a synthetic target that doesn't respect the + # pod's arch exclusions, so fails to build. + - name: Mac_x64 lint_podspecs + recipe: plugins/plugins + bringup: true # New target: https://github.com/flutter/plugins/pull/6637 + timeout: 30 + properties: + add_recipes_cq: "true" + version_file: flutter_master.version + target_file: mac_lint_podspecs.yaml + - name: Windows win32-platform_tests master recipe: plugins/plugins timeout: 30 diff --git a/.ci/targets/mac_lint_podspecs.yaml b/.ci/targets/mac_lint_podspecs.yaml new file mode 100644 index 000000000000..02a904ee3d85 --- /dev/null +++ b/.ci/targets/mac_lint_podspecs.yaml @@ -0,0 +1,6 @@ +tasks: + - name: prepare tool + script: .ci/scripts/prepare_tool.sh + - name: lint iOS and macOS podspecs + script: script/tool_runner.sh + args: ["podspecs"]