blob: 85cb0b16b32adbb2154d726e708287fb8ff4d377 [file] [log] [blame]
[
{
"cmd": [],
"name": "ensure xcode",
"~followup_annotations": [
"@@@STEP_SUMMARY_TEXT@Ensuring Xcode version 16a242d in [START_DIR]/cache/Xcode.app@@@"
]
},
{
"cmd": [],
"name": "ensure xcode.install infra/tools/mac_toolchain",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0o777",
"[START_DIR]/cipd_tool/infra/tools/mac_toolchain/066a48b36c73b8e8bb0048e40c54a55c86195561cf17d85788968b1a97fabe0a"
],
"infra_step": true,
"name": "ensure xcode.install infra/tools/mac_toolchain.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd_tool/infra/tools/mac_toolchain/066a48b36c73b8e8bb0048e40c54a55c86195561cf17d85788968b1a97fabe0a",
"-ensure-file",
"infra/tools/mac_toolchain/${platform} git_revision:0cb1e51344de158f72524c384f324465aebbcef2",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "ensure xcode.install infra/tools/mac_toolchain.ensure_installed",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@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:0cb\",@@@",
"@@@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": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"listdir",
"[START_DIR]/cipd_tool/infra/tools/mac_toolchain"
],
"infra_step": true,
"name": "ensure xcode.locate mac_toolchain",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@listdir@[START_DIR]/cipd_tool/infra/tools/mac_toolchain/abc123@@@",
"@@@STEP_LOG_END@listdir@@@"
]
},
{
"cmd": [
"ls",
"-R",
"[START_DIR]/cipd_tool"
],
"name": "ensure xcode.ls -R cipd_tool",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"ls",
"-R",
"[START_DIR]/cipd_tool/infra/tools/mac_toolchain"
],
"name": "ensure xcode.ls -R cipd_tool (2)",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"ls",
"-alh",
"[START_DIR]/cipd_tool/infra/tools/mac_toolchain/abc123/mac_toolchain"
],
"name": "ensure xcode.ls -alh mac_toolchain",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/infra/tools/mac_toolchain/abc123/mac_toolchain",
"install",
"-kind",
"ios",
"-xcode-version",
"16a242d",
"-output-dir",
"[START_DIR]/cache/Xcode.app"
],
"name": "ensure xcode.install xcode",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"sudo",
"xcode-select",
"-switch",
"[START_DIR]/cache/Xcode.app"
],
"name": "ensure xcode.select xcode",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"name": "$result"
}
]