blob: 8374f79f55c8e03989a4beec36e862cab80d5c6c [file] [log] [blame]
[
{
"cmd": [
"rm",
"-rf",
"[CACHE]/osx_sdk/xcode_deadbeef"
],
"infra_step": true,
"name": "Cleaning up Xcode cache"
},
{
"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": "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/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=True"
],
"infra_step": true,
"name": "install xcode"
},
{
"cmd": [],
"name": "Cleaning up runtimes cache"
},
{
"cmd": [
"sudo",
"xcode-select",
"--switch",
"[CACHE]/osx_sdk/xcode_deadbeef/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": "install runtimes"
},
{
"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=True"
],
"infra_step": true,
"name": "install runtimes.install xcode",
"~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": [
"rm",
"-rf",
"[CACHE]/osx_sdk/xcode_deadbeef"
],
"infra_step": true,
"name": "Cleaning up Xcode cache (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": "ensure_installed (2)",
"~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/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=True"
],
"infra_step": true,
"name": "install xcode (2)"
},
{
"cmd": [],
"name": "Cleaning up runtimes cache (2)"
},
{
"cmd": [
"sudo",
"xcode-select",
"--switch",
"[CACHE]/osx_sdk/xcode_deadbeef/XCode.app"
],
"infra_step": true,
"name": "Cleaning up runtimes cache (2).select XCode",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"xcrun",
"simctl",
"runtime",
"delete",
"all"
],
"infra_step": true,
"name": "Cleaning up runtimes cache (2).Cleaning up mounted simulator runtimes",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@raw_io.output_text@@@"
]
},
{
"cmd": [],
"name": "install runtimes (2)"
},
{
"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=True"
],
"infra_step": true,
"name": "install runtimes (2).install xcode",
"~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": [
"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": "ensure_installed (3)",
"~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": [
"[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",
"infra_internal/ios/xcode",
"-with-runtime=True"
],
"infra_step": true,
"name": "install xcode (3)"
},
{
"cmd": [],
"name": "Cleaning up runtimes cache (3)"
},
{
"cmd": [
"sudo",
"xcode-select",
"--switch",
"/opt/flutter/xcode/deadbeef/XCode.app"
],
"infra_step": true,
"name": "Cleaning up runtimes cache (3).select XCode",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"xcrun",
"simctl",
"runtime",
"delete",
"all"
],
"infra_step": true,
"name": "Cleaning up runtimes cache (3).Cleaning up mounted simulator runtimes",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@raw_io.output_text@@@"
]
},
{
"cmd": [],
"name": "install runtimes (3)"
},
{
"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",
"infra_internal/ios/xcode",
"-with-runtime=True"
],
"infra_step": true,
"name": "install runtimes (3).install xcode",
"~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": [
"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": "ensure_installed (4)",
"~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": [
"[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",
"infra_internal/ios/xcode",
"-with-runtime=True"
],
"infra_step": true,
"name": "install xcode (4)"
},
{
"cmd": [],
"name": "Cleaning up runtimes cache (4)"
},
{
"cmd": [
"sudo",
"xcode-select",
"--switch",
"/opt/flutter/xcode/deadbeef/XCode.app"
],
"infra_step": true,
"name": "Cleaning up runtimes cache (4).select XCode",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"xcrun",
"simctl",
"runtime",
"delete",
"all"
],
"infra_step": true,
"name": "Cleaning up runtimes cache (4).Cleaning up mounted simulator runtimes",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@raw_io.output_text@@@"
]
},
{
"cmd": [],
"name": "install runtimes (4)"
},
{
"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",
"infra_internal/ios/xcode",
"-with-runtime=True"
],
"infra_step": true,
"name": "install runtimes (4).install xcode",
"~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)"
},
{
"name": "$result"
}
]