| [ | |
| { | |
| "cmd": [ | |
| "cipd", | |
| "ensure", | |
| "-root", | |
| "[CACHE]/macos_sdk", | |
| "-ensure-file", | |
| "infra/tools/mac_toolchain/${platform} git_revision:1b9e28e1cfc65541b83def4480835449b60188a1", | |
| "-max-threads", | |
| "0", | |
| "-json-output", | |
| "/path/to/tmp/json" | |
| ], | |
| "infra_step": true, | |
| "name": "ensure_installed", | |
| "~followup_annotations": [ | |
| "@@@STEP_LOG_LINE@json.output@{@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", | |
| "@@@STEP_LOG_LINE@json.output@ {@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-git_revision:1b9\",@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/mac_toolchain/resolved-platform\"@@@", | |
| "@@@STEP_LOG_LINE@json.output@ }@@@", | |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", | |
| "@@@STEP_LOG_LINE@json.output@ }@@@", | |
| "@@@STEP_LOG_LINE@json.output@}@@@", | |
| "@@@STEP_LOG_END@json.output@@@" | |
| ] | |
| }, | |
| { | |
| "cmd": [ | |
| "[CACHE]/macos_sdk/mac_toolchain", | |
| "install", | |
| "-kind", | |
| "mac", | |
| "-xcode-version", | |
| "15c500b", | |
| "-output-dir", | |
| "[CACHE]/macos_sdk/XCode.app" | |
| ], | |
| "infra_step": true, | |
| "name": "install xcode" | |
| }, | |
| { | |
| "cmd": [ | |
| "sudo", | |
| "xcode-select", | |
| "--switch", | |
| "[CACHE]/macos_sdk/XCode.app" | |
| ], | |
| "infra_step": true, | |
| "name": "select XCode" | |
| }, | |
| { | |
| "cmd": [ | |
| "gn", | |
| "gen", | |
| "out/Release" | |
| ], | |
| "name": "gn" | |
| }, | |
| { | |
| "cmd": [ | |
| "ninja", | |
| "-C", | |
| "out/Release" | |
| ], | |
| "name": "ninja" | |
| }, | |
| { | |
| "cmd": [ | |
| "sudo", | |
| "xcode-select", | |
| "--reset" | |
| ], | |
| "infra_step": true, | |
| "name": "reset XCode" | |
| }, | |
| { | |
| "name": "$result" | |
| } | |
| ] |