| tasks: | |
| - name: prepare tool | |
| script: .ci/scripts/prepare_tool.sh | |
| infra_step: true # Note infra steps failing prevents "always" from running. | |
| - name: download Dart and macOS deps | |
| script: .ci/scripts/tool_runner.sh | |
| args: ["fetch-deps", "--macos", "--supporting-target-platforms-only", "--swift-package-manager"] | |
| infra_step: true | |
| - name: build examples | |
| script: .ci/scripts/tool_runner.sh | |
| args: ["build-examples", "--macos", "--swift-package-manager"] | |
| - name: xcode analyze | |
| script: .ci/scripts/tool_runner.sh | |
| args: ["analyze", "--no-dart", "--macos", "--exclude=script/configs/xcode_warnings_exceptions.yaml"] | |
| - name: xcode analyze deprecation | |
| # Ensure we don't accidentally introduce deprecated code. | |
| script: .ci/scripts/tool_runner.sh | |
| args: ["analyze", "--no-dart", "--macos", "--macos-min-version=14.0", "--exclude=script/configs/exclude_xcode_deprecation.yaml,script/configs/xcode_warnings_exceptions.yaml"] | |
| - name: native test | |
| script: .ci/scripts/tool_runner.sh | |
| args: ["native-test", "--macos", "--xcode-warnings-exceptions=script/configs/xcode_warnings_exceptions.yaml"] | |
| - name: drive examples | |
| script: .ci/scripts/tool_runner.sh | |
| args: ["drive-examples", "--macos", "--exclude=script/configs/exclude_integration_macos.yaml"] |