mirror of
https://github.com/flutter/packages.git
synced 2025-08-06 17:28:42 +08:00

* [ci] Switch more macOS tests to LUCI Enables the newly-added LUCI versions of the remaining macOS host tests (other than custom-tests, which still has issues that are under investigation) and removes the Cirrus versions of those tests. This almost completes the macOS LUCI migration for this repository. * Simplify remaining Cirrus config * Rename scripts * Remove reference to config that doesn't exist in this repo yet
25 lines
1.0 KiB
YAML
25 lines
1.0 KiB
YAML
tasks:
|
|
- name: prepare tool
|
|
script: .ci/scripts/prepare_tool.sh
|
|
- name: create simulator
|
|
script: .ci/scripts/create_simulator.sh
|
|
- name: build examples
|
|
script: script/tool_runner.sh
|
|
args: ["build-examples", "--ios"]
|
|
- name: xcode analyze
|
|
script: script/tool_runner.sh
|
|
args: ["xcode-analyze", "--ios"]
|
|
- name: xcode analyze deprecation
|
|
# Ensure we don't accidentally introduce deprecated code.
|
|
script: script/tool_runner.sh
|
|
args: ["xcode-analyze", "--ios", "--ios-min-version=13.0"]
|
|
- name: native test
|
|
script: script/tool_runner.sh
|
|
args: ["native-test", "--ios", "--ios-destination", "platform=iOS Simulator,name=iPhone 13,OS=latest"]
|
|
- name: drive examples
|
|
# `drive-examples` contains integration tests, which changes the UI of the application.
|
|
# This UI change sometimes affects `xctest`.
|
|
# So we run `drive-examples` after `native-test`; changing the order will result ci failure.
|
|
script: script/tool_runner.sh
|
|
args: ["drive-examples", "--ios"]
|