blob: 2a15c6fa1a87365d32985196cf52d3204803d057 [file] [log] [blame]
[
{
"cmd": [
"sw_vers",
"-productVersion"
],
"name": "find macOS version"
},
{
"cmd": [],
"name": "ensure XCode 14e222b"
},
{
"cmd": [],
"name": "ensure XCode 14e222b.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/be1bf3cbb34d603837500595770868faf18232f9529e0a375b9527506d4cd711"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337001201.5
}
},
"name": "ensure XCode 14e222b.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/be1bf3cbb34d603837500595770868faf18232f9529e0a375b9527506d4cd711",
"-ensure-file",
"infra/tools/mac_toolchain/${platform} git_revision:3e597065cb23c1fe03aeb2ebd792d83e0709c5c2",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337001201.5
}
},
"name": "ensure XCode 14e222b.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:3e5\",@@@",
"@@@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": [
"[START_DIR]/cipd_tool/infra/tools/mac_toolchain/be1bf3cbb34d603837500595770868faf18232f9529e0a375b9527506d4cd711/mac_toolchain",
"install",
"-kind",
"mac",
"-xcode-version",
"14e222b",
"-output-dir",
"[CACHE]/macos_sdk/XCode.app"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337001201.5
}
},
"name": "ensure XCode 14e222b.install XCode 14e222b",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/infra/tools/mac_toolchain/be1bf3cbb34d603837500595770868faf18232f9529e0a375b9527506d4cd711/mac_toolchain",
"install",
"-kind",
"mac",
"-xcode-version",
"xcode_version",
"-output-dir",
"[CACHE]/macos_sdk/xcode_version/XCode.app"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337001201.5
}
},
"name": "ensure XCode 14e222b.install XCode xcode_version",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"symlink",
"[CACHE]/macos_sdk/xcode_version/XCode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk",
"[CACHE]/macos_sdk/XCode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/sdk_version"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337001201.5
}
},
"name": "ensure XCode 14e222b.install sdk_version",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"sudo",
"xcode-select",
"--switch",
"[CACHE]/macos_sdk/XCode.app"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337001201.5
}
},
"name": "ensure XCode 14e222b.select XCode 14e222b",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"xcrun",
"--sdk",
"macosx",
"--show-sdk-path"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337001201.5
}
},
"name": "ensure XCode 14e222b.xcrun",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@raw_io.output_text[sdk-path]@[START_DIR]/xcode@@@",
"@@@STEP_LOG_END@raw_io.output_text[sdk-path]@@@"
]
},
{
"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"
}
]