Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
add darwin_lint_podspecs
  • Loading branch information
keyonghan committed Nov 2, 2022
commit e4795ffe3db89342a0bd67e24910002dd1766e71
20 changes: 20 additions & 0 deletions .ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,28 @@ 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:
- name: Mac_x64 darwin_lint_podspecs
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should preserve the TODO from the Cirrus config about moving this to ARM.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Added it back.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can drop 'darwin' from the name here; it doesn't really add anything. (I think it was only there because it used to be "ios" and we gave it a generic name instead, when we should have just removed it.)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dropped the darwin in both target name here and the script yaml name.

recipe: plugins/plugins
timeout: 30
properties:
add_recipes_cq: "true"
version_file: flutter_master.version
target_file: darwin_lint_podspecs.yaml

- name: Windows win32-platform_tests master
recipe: plugins/plugins
timeout: 30
Expand Down
5 changes: 5 additions & 0 deletions .ci/targets/mac_darwin_lint_podspecs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
tasks:
- name: prepare tool
script: .ci/scripts/prepare_tool.sh
- name: create all_plugins app
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"lint iOS and macOS podspecs"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated.

script: ./script/tool_runner.sh podspecs