blob: 383cd1b7529d94d7a80e7e14fcc8cdc21aa27ba5 [file] [log] [blame]
[
{
"cmd": [
"echo",
"[CACHE]/osx_sdk/xcode_deadbeef"
],
"infra_step": true,
"name": "show app_dir"
},
{
"cmd": [
"ls",
"-al",
"[CACHE]/osx_sdk"
],
"infra_step": true,
"name": "Show xcode cache"
},
{
"cmd": [],
"name": "Running Cache Micro Manager on [CACHE]/osx_sdk."
},
{
"cmd": [],
"name": "Running Cache Micro Manager on [CACHE]/osx_sdk..Cache Micro Manager, cache directory exists check",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_TEXT@Cache dir does not exist, skipping.@@@"
]
},
{
"cmd": [
"ls",
"-al",
"[CACHE]/osx_sdk"
],
"infra_step": true,
"name": "Show xcode cache (2)"
},
{
"cmd": [],
"name": "install xcode"
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[CACHE]/osx_sdk/xcode_deadbeef",
"-ensure-file",
"infra/tools/mac_toolchain/${platform} 123abc",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "install xcode.ensure_installed",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@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": [
"ls",
"-al",
"[CACHE]/osx_sdk/xcode_deadbeef"
],
"infra_step": true,
"name": "install xcode.Show tool_dir cache",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[CACHE]/osx_sdk/xcode_deadbeef/mac_toolchain",
"install",
"-kind",
"mac",
"-xcode-version",
"deadbeef",
"-output-dir",
"[CACHE]/osx_sdk/xcode_deadbeef/XCode.app",
"-cipd-package-prefix",
"infra_internal/ios/xcode",
"-with-runtime=False",
"-verbose"
],
"infra_step": true,
"name": "install xcode.install xcode from cipd",
"timeout": 1800,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "install runtimes",
"~followup_annotations": [
"@@@STEP_EXCEPTION@@@"
]
},
{
"cmd": [
"sudo",
"xcode-select",
"--switch",
"[CACHE]/osx_sdk/xcode_deadbeef/XCode.app"
],
"infra_step": true,
"name": "install runtimes.select xcode",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"xcrun",
"simctl",
"list",
"runtimes"
],
"infra_step": true,
"name": "install runtimes.list runtimes",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@raw_io.output_text@@@"
]
},
{
"cmd": [],
"name": "install runtimes.Invalid runtime version ios-16-4",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_EXCEPTION@@@"
]
},
{
"cmd": [
"sudo",
"xcode-select",
"--reset"
],
"infra_step": true,
"name": "reset XCode"
},
{
"failure": {
"humanReason": "Infra Failure: Step('install runtimes.Invalid runtime version ios-16-4') (retcode: 0)"
},
"name": "$result"
}
]