| [ |
| { |
| "cmd": [ |
| "echo", |
| "[CACHE]/osx_sdk/xcode_deadbeef_runtime_ios-14-0_ios-13-0" |
| ], |
| "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_runtime_ios-14-0_ios-13-0", |
| "-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_runtime_ios-14-0_ios-13-0/mac_toolchain", |
| "install", |
| "-kind", |
| "mac", |
| "-xcode-version", |
| "deadbeef", |
| "-output-dir", |
| "[CACHE]/osx_sdk/xcode_deadbeef_runtime_ios-14-0_ios-13-0/XCode.app", |
| "-cipd-package-prefix", |
| "flutter_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" |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0o777", |
| "[CACHE]/osx_sdk/xcode_deadbeef_runtime_ios-14-0_ios-13-0/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes" |
| ], |
| "infra_step": true, |
| "name": "install runtimes.Ensuring runtimes directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/osx_sdk/xcode_deadbeef_runtime_ios-14-0_ios-13-0/mac_toolchain", |
| "install-runtime", |
| "-cipd-package-prefix", |
| "flutter_internal/ios/xcode", |
| "-runtime-version", |
| "ios-14-0", |
| "-output-dir", |
| "[CACHE]/osx_sdk/xcode_runtime_ios-14-0" |
| ], |
| "infra_step": true, |
| "name": "install runtimes.install xcode runtime ios-14-0", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copytree", |
| "--symlinks", |
| "[CACHE]/osx_sdk/xcode_runtime_ios-14-0/iOS.simruntime", |
| "[CACHE]/osx_sdk/xcode_deadbeef_runtime_ios-14-0_ios-13-0/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 14.0.simruntime" |
| ], |
| "infra_step": true, |
| "name": "install runtimes.Copy runtime to [CACHE]/osx_sdk/xcode_deadbeef_runtime_ios-14-0_ios-13-0/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 14.0.simruntime", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/osx_sdk/xcode_deadbeef_runtime_ios-14-0_ios-13-0/mac_toolchain", |
| "install-runtime", |
| "-cipd-package-prefix", |
| "flutter_internal/ios/xcode", |
| "-runtime-version", |
| "ios-13-0", |
| "-output-dir", |
| "[CACHE]/osx_sdk/xcode_runtime_ios-13-0" |
| ], |
| "infra_step": true, |
| "name": "install runtimes.install xcode runtime ios-13-0", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copytree", |
| "--symlinks", |
| "[CACHE]/osx_sdk/xcode_runtime_ios-13-0/iOS.simruntime", |
| "[CACHE]/osx_sdk/xcode_deadbeef_runtime_ios-14-0_ios-13-0/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 13.0.simruntime" |
| ], |
| "infra_step": true, |
| "name": "install runtimes.Copy runtime to [CACHE]/osx_sdk/xcode_deadbeef_runtime_ios-14-0_ios-13-0/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 13.0.simruntime", |
| "~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_runtime_ios-14-0_ios-13-0/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": [ |
| "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": [], |
| "name": "install xcode (2)" |
| }, |
| { |
| "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 (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": [ |
| "[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", |
| "flutter_internal/ios/xcode", |
| "-with-runtime=False", |
| "-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", |
| "/opt/flutter/xcode/deadbeef/XCode.app" |
| ], |
| "infra_step": true, |
| "name": "select xcode (2)" |
| }, |
| { |
| "cmd": [ |
| "xcrun", |
| "simctl", |
| "list" |
| ], |
| "infra_step": true, |
| "name": "list simulators (2)" |
| }, |
| { |
| "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" |
| }, |
| { |
| "cmd": [], |
| "name": "install xcode (3)" |
| }, |
| { |
| "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 (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_2/osx_sdk/mac_toolchain", |
| "install", |
| "-kind", |
| "mac", |
| "-xcode-version", |
| "deadbeef", |
| "-output-dir", |
| "/opt/flutter/xcode/deadbeef/XCode.app", |
| "-cipd-package-prefix", |
| "flutter_internal/ios/xcode", |
| "-with-runtime=False", |
| "-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": [ |
| "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" |
| } |
| ] |