blob: 3d555ccbe131e82e69fd36d87f4aa55b640b6107 [file] [log] [blame]
[
{
"cmd": [
"rm",
"-rf",
"[CACHE]/osx_sdk/xcode_deadbeef_runtime_ios-16-4_14e300c_ios-16-2_14c18"
],
"infra_step": true,
"name": "Cleaning up Xcode cache"
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[CACHE]/osx_sdk/xcode_deadbeef_runtime_ios-16-4_14e300c_ios-16-2_14c18",
"-ensure-file",
"infra/tools/mac_toolchain/${platform} 123abc",
"-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-123abc----------\",@@@",
"@@@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]/osx_sdk/xcode_deadbeef_runtime_ios-16-4_14e300c_ios-16-2_14c18/mac_toolchain",
"install",
"-kind",
"mac",
"-xcode-version",
"deadbeef",
"-output-dir",
"[CACHE]/osx_sdk/xcode_deadbeef_runtime_ios-16-4_14e300c_ios-16-2_14c18/XCode.app",
"-cipd-package-prefix",
"infra_internal/ios/xcode",
"-with-runtime=False"
],
"infra_step": true,
"name": "install xcode"
},
{
"cmd": [],
"name": "Cleaning up runtimes cache",
"~followup_annotations": [
"@@@STEP_EXCEPTION@@@"
]
},
{
"cmd": [
"sudo",
"xcode-select",
"--switch",
"[CACHE]/osx_sdk/xcode_deadbeef_runtime_ios-16-4_14e300c_ios-16-2_14c18/XCode.app"
],
"infra_step": true,
"name": "Cleaning up runtimes cache.select XCode",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"xcrun",
"simctl",
"runtime",
"delete",
"all"
],
"infra_step": true,
"name": "Cleaning up runtimes cache.Cleaning up mounted simulator runtimes",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@raw_io.output_text@@@"
]
},
{
"cmd": [],
"name": "Cleaning up runtimes cache.Failed to delete runtimes",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_TEXT@Some error@@@",
"@@@STEP_EXCEPTION@@@"
]
},
{
"cmd": [
"sudo",
"xcode-select",
"--reset"
],
"infra_step": true,
"name": "reset XCode"
},
{
"failure": {
"humanReason": "Infra Failure: Step('Cleaning up runtimes cache.Failed to delete runtimes') (retcode: 0)"
},
"name": "$result"
}
]