blob: d56ac090bc0b930741a9fd9fe48bc55fef844f9c [file] [log] [blame]
[
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"rmtree",
"[CACHE]/osx_sdk/xcode_deadbeef"
],
"infra_step": true,
"name": "Cleaning up Xcode cache"
},
{
"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": [
"[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",
"some/package",
"-with-runtime=True",
"-verbose"
],
"infra_step": true,
"name": "install xcode.install xcode from cipd",
"timeout": 1800,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"killall",
"-9",
"com.apple.CoreSimulator.CoreSimulatorDevice"
],
"infra_step": true,
"name": "kill dart"
},
{
"cmd": [
"sudo",
"xcode-select",
"--switch",
"[CACHE]/osx_sdk/xcode_deadbeef/XCode.app"
],
"infra_step": true,
"name": "select xcode"
},
{
"cmd": [
"xcrun",
"simctl",
"list"
],
"infra_step": true,
"name": "list simulators"
},
{
"cmd": [
"xcrun",
"simctl",
"list",
"runtimes"
],
"infra_step": true,
"name": "list runtimes"
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"rmtree",
"[CACHE]/osx_sdk/xcode_deadbeef"
],
"infra_step": true,
"name": "Cleaning up Xcode cache (2)"
},
{
"cmd": [
"echo",
"[CACHE]/osx_sdk/xcode_deadbeef"
],
"infra_step": true,
"name": "show app_dir (2)"
},
{
"cmd": [
"ls",
"-al",
"[CACHE]/osx_sdk"
],
"infra_step": true,
"name": "Show xcode cache (3)"
},
{
"cmd": [],
"name": "Running Cache Micro Manager on [CACHE]/osx_sdk. (2)"
},
{
"cmd": [],
"name": "Running Cache Micro Manager on [CACHE]/osx_sdk. (2).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 (4)"
},
{
"cmd": [],
"name": "install xcode (2)"
},
{
"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 (2).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": [
"[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",
"some/package",
"-with-runtime=True",
"-verbose"
],
"infra_step": true,
"name": "install xcode (2).install xcode from cipd",
"timeout": 1800,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"killall",
"-9",
"com.apple.CoreSimulator.CoreSimulatorDevice"
],
"infra_step": true,
"name": "kill dart (2)"
},
{
"cmd": [
"sudo",
"xcode-select",
"--switch",
"[CACHE]/osx_sdk/xcode_deadbeef/XCode.app"
],
"infra_step": true,
"name": "select xcode (2)"
},
{
"cmd": [
"xcrun",
"simctl",
"list"
],
"infra_step": true,
"name": "list simulators (2)"
},
{
"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"
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"rmtree",
"/opt/flutter/xcode/deadbeef"
],
"infra_step": true,
"name": "Cleaning up Xcode cache (3)"
},
{
"cmd": [
"echo",
"/opt/flutter/xcode/deadbeef"
],
"infra_step": true,
"name": "show app_dir (3)"
},
{
"cmd": [
"ls",
"-al",
"/opt/flutter/xcode"
],
"infra_step": true,
"name": "Show xcode cache (5)"
},
{
"cmd": [],
"name": "Running Cache Micro Manager on /opt/flutter/xcode."
},
{
"cmd": [],
"name": "Running Cache Micro Manager on /opt/flutter/xcode..Cache Micro Manager, cache directory exists check",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_TEXT@Cache dir does not exist, skipping.@@@"
]
},
{
"cmd": [
"ls",
"-al",
"/opt/flutter/xcode"
],
"infra_step": true,
"name": "Show xcode cache (6)"
},
{
"cmd": [],
"name": "install xcode (3)"
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[CLEANUP]/tmp_tmp_1/osx_sdk",
"-ensure-file",
"infra/tools/mac_toolchain/${platform} 123abc",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "install xcode (3).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": [
"[CLEANUP]/tmp_tmp_1/osx_sdk/mac_toolchain",
"install",
"-kind",
"mac",
"-xcode-version",
"deadbeef",
"-output-dir",
"/opt/flutter/xcode/deadbeef/XCode.app",
"-cipd-package-prefix",
"some/package",
"-with-runtime=True",
"-verbose"
],
"infra_step": true,
"name": "install xcode (3).install xcode from cipd",
"timeout": 1800,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"killall",
"-9",
"com.apple.CoreSimulator.CoreSimulatorDevice"
],
"infra_step": true,
"name": "kill dart (3)"
},
{
"cmd": [
"sudo",
"xcode-select",
"--switch",
"/opt/flutter/xcode/deadbeef/XCode.app"
],
"infra_step": true,
"name": "select xcode (3)"
},
{
"cmd": [
"xcrun",
"simctl",
"list"
],
"infra_step": true,
"name": "list simulators (3)"
},
{
"cmd": [
"xcrun",
"simctl",
"list",
"runtimes"
],
"infra_step": true,
"name": "list runtimes (2)"
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"rmtree",
"/opt/flutter/xcode/deadbeef"
],
"infra_step": true,
"name": "Cleaning up Xcode cache (4)"
},
{
"cmd": [
"echo",
"/opt/flutter/xcode/deadbeef"
],
"infra_step": true,
"name": "show app_dir (4)"
},
{
"cmd": [
"ls",
"-al",
"/opt/flutter/xcode"
],
"infra_step": true,
"name": "Show xcode cache (7)"
},
{
"cmd": [],
"name": "Running Cache Micro Manager on /opt/flutter/xcode. (2)"
},
{
"cmd": [],
"name": "Running Cache Micro Manager on /opt/flutter/xcode. (2).Cache Micro Manager, cache directory exists check",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_TEXT@Cache dir does not exist, skipping.@@@"
]
},
{
"cmd": [
"ls",
"-al",
"/opt/flutter/xcode"
],
"infra_step": true,
"name": "Show xcode cache (8)"
},
{
"cmd": [],
"name": "install xcode (4)"
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[CLEANUP]/tmp_tmp_2/osx_sdk",
"-ensure-file",
"infra/tools/mac_toolchain/${platform} 123abc",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "install xcode (4).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": [
"[CLEANUP]/tmp_tmp_2/osx_sdk/mac_toolchain",
"install",
"-kind",
"mac",
"-xcode-version",
"deadbeef",
"-output-dir",
"/opt/flutter/xcode/deadbeef/XCode.app",
"-cipd-package-prefix",
"some/package",
"-with-runtime=True",
"-verbose"
],
"infra_step": true,
"name": "install xcode (4).install xcode from cipd",
"timeout": 1800,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"killall",
"-9",
"com.apple.CoreSimulator.CoreSimulatorDevice"
],
"infra_step": true,
"name": "kill dart (4)"
},
{
"cmd": [
"sudo",
"xcode-select",
"--switch",
"/opt/flutter/xcode/deadbeef/XCode.app"
],
"infra_step": true,
"name": "select xcode (4)"
},
{
"cmd": [
"xcrun",
"simctl",
"list"
],
"infra_step": true,
"name": "list simulators (4)"
},
{
"cmd": [
"gn",
"gen",
"out/Release"
],
"name": "gn (2)"
},
{
"cmd": [
"ninja",
"-C",
"out/Release"
],
"name": "ninja (2)"
},
{
"cmd": [
"sudo",
"xcode-select",
"--reset"
],
"infra_step": true,
"name": "reset XCode (2)"
},
{
"cmd": [
"sudo",
"xcode-select",
"--reset"
],
"infra_step": true,
"name": "reset XCode (3)"
},
{
"name": "$result"
}
]