| [ |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", |
| "--path", |
| "[START_DIR]\\flutter", |
| "--url", |
| "https://chromium.googlesource.com/external/github.com/flutter/flutter" |
| ], |
| "name": "git setup" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "origin", |
| "master", |
| "--recurse-submodules", |
| "--progress", |
| "--tags" |
| ], |
| "cwd": "[START_DIR]\\flutter", |
| "env": { |
| "PATH": "RECIPE_REPO[depot_tools];<PATH>" |
| }, |
| "infra_step": true, |
| "name": "git fetch" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "FETCH_HEAD" |
| ], |
| "cwd": "[START_DIR]\\flutter", |
| "infra_step": true, |
| "name": "git checkout" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]\\flutter", |
| "infra_step": true, |
| "name": "read revision", |
| "~followup_annotations": [ |
| "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", |
| "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "clean", |
| "-f", |
| "-d", |
| "-x" |
| ], |
| "cwd": "[START_DIR]\\flutter", |
| "infra_step": true, |
| "name": "git clean" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "sync" |
| ], |
| "cwd": "[START_DIR]\\flutter", |
| "infra_step": true, |
| "name": "submodule sync" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "update", |
| "--init", |
| "--recursive" |
| ], |
| "cwd": "[START_DIR]\\flutter", |
| "infra_step": true, |
| "name": "submodule update" |
| }, |
| { |
| "cmd": [], |
| "name": "Download goldctl" |
| }, |
| { |
| "cmd": [ |
| "cipd.bat", |
| "ensure", |
| "-root", |
| "[CACHE]\\gold", |
| "-ensure-file", |
| "skia/tools/goldctl/${platform} git_revision:40f373da81fba80258071635a0f0188427147332", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "Download goldctl.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-git_revision:40f\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"skia/tools/goldctl/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": [ |
| "flutter.bat", |
| "doctor" |
| ], |
| "cwd": "[START_DIR]\\flutter", |
| "env": { |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GOLDCTL": "[CACHE]\\gold\\goldctl", |
| "GOLD_TRYJOB": "refs/heads/master", |
| "PUB_CACHE": "[START_DIR]\\flutter\\.pub-cache" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]\\flutter\\bin", |
| "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" |
| ] |
| }, |
| "name": "flutter doctor" |
| }, |
| { |
| "cmd": [ |
| "flutter.bat", |
| "update-packages" |
| ], |
| "cwd": "[START_DIR]\\flutter", |
| "env": { |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GOLDCTL": "[CACHE]\\gold\\goldctl", |
| "GOLD_TRYJOB": "refs/heads/master", |
| "PUB_CACHE": "[START_DIR]\\flutter\\.pub-cache" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]\\flutter\\bin", |
| "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" |
| ] |
| }, |
| "name": "download dependencies" |
| }, |
| { |
| "cmd": [ |
| "cipd.bat", |
| "ensure", |
| "-root", |
| "[CACHE]\\windows_sdk", |
| "-ensure-file", |
| "chrome_internal/third_party/sdk/windows uploaded:2018-06-13", |
| "-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-uploaded:2018-06\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"chrome_internal/third_party/sdk/windows\"@@@", |
| "@@@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": [ |
| "python", |
| "-u", |
| "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| "[CACHE]\\windows_sdk\\win_sdk\\bin\\SetEnv.x64.json", |
| "/path/to/tmp/json" |
| ], |
| "name": "read SetEnv.x64.json", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"PATH\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ [@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"..\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"..\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"win_sdk\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"bin\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"x64\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"VSINSTALLDIR\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ [@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"..\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"..\\\\\"@@@", |
| "@@@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": [ |
| "cipd.bat", |
| "ensure", |
| "-root", |
| "[CACHE]\\java", |
| "-ensure-file", |
| "flutter_internal/java/openjdk/${platform} version:1.8.0u202-b08", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "env": { |
| "VSINSTALLDIR": "[CACHE]\\windows_sdk" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]\\windows_sdk\\win_sdk\\bin\\x64" |
| ] |
| }, |
| "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-version:1.8.0u20\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter_internal/java/openjdk/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": [ |
| "dart.exe", |
| "[START_DIR]\\flutter\\dev\\bots\\test.dart" |
| ], |
| "cwd": "[START_DIR]\\flutter", |
| "env": { |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GOLDCTL": "[CACHE]\\gold\\goldctl", |
| "GOLD_TRYJOB": "refs/heads/master", |
| "JAVA_HOME": "[CACHE]\\java", |
| "PUB_CACHE": "[START_DIR]\\flutter\\.pub-cache", |
| "SHARD": "tests", |
| "VSINSTALLDIR": "[CACHE]\\windows_sdk" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]\\flutter\\bin", |
| "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin", |
| "[CACHE]\\java\\bin", |
| "[CACHE]\\windows_sdk\\win_sdk\\bin\\x64" |
| ] |
| }, |
| "name": "run test.dart for tests shard" |
| }, |
| { |
| "cmd": [ |
| "taskkill", |
| "/f", |
| "/im", |
| "java.exe", |
| "/t" |
| ], |
| "cwd": "[START_DIR]\\flutter", |
| "env": { |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GOLDCTL": "[CACHE]\\gold\\goldctl", |
| "GOLD_TRYJOB": "refs/heads/master", |
| "JAVA_HOME": "[CACHE]\\java", |
| "PUB_CACHE": "[START_DIR]\\flutter\\.pub-cache", |
| "VSINSTALLDIR": "[CACHE]\\windows_sdk" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]\\flutter\\bin", |
| "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin", |
| "[CACHE]\\java\\bin", |
| "[CACHE]\\windows_sdk\\win_sdk\\bin\\x64" |
| ] |
| }, |
| "name": "stop gradle daemon" |
| }, |
| { |
| "cmd": [ |
| "taskkill", |
| "/f", |
| "/im", |
| "dart.exe", |
| "/t" |
| ], |
| "cwd": "[START_DIR]\\flutter", |
| "env": { |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GOLDCTL": "[CACHE]\\gold\\goldctl", |
| "GOLD_TRYJOB": "refs/heads/master", |
| "JAVA_HOME": "[CACHE]\\java", |
| "PUB_CACHE": "[START_DIR]\\flutter\\.pub-cache", |
| "VSINSTALLDIR": "[CACHE]\\windows_sdk" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]\\flutter\\bin", |
| "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin", |
| "[CACHE]\\java\\bin", |
| "[CACHE]\\windows_sdk\\win_sdk\\bin\\x64" |
| ] |
| }, |
| "name": "stop dart" |
| }, |
| { |
| "cmd": [ |
| "taskkill", |
| "/f", |
| "/im", |
| "adb.exe", |
| "/t" |
| ], |
| "cwd": "[START_DIR]\\flutter", |
| "env": { |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GOLDCTL": "[CACHE]\\gold\\goldctl", |
| "GOLD_TRYJOB": "refs/heads/master", |
| "JAVA_HOME": "[CACHE]\\java", |
| "PUB_CACHE": "[START_DIR]\\flutter\\.pub-cache", |
| "VSINSTALLDIR": "[CACHE]\\windows_sdk" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]\\flutter\\bin", |
| "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin", |
| "[CACHE]\\java\\bin", |
| "[CACHE]\\windows_sdk\\win_sdk\\bin\\x64" |
| ] |
| }, |
| "name": "stop adb" |
| }, |
| { |
| "cmd": [ |
| "taskkill.exe", |
| "/f", |
| "/t", |
| "/im", |
| "mspdbsrv.exe" |
| ], |
| "name": "taskkill mspdbsrv" |
| }, |
| { |
| "name": "$result" |
| } |
| ] |