d460a3c256
BUG=skia:5578 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2209423002 Review-Url: https://codereview.chromium.org/2209423002
103 lines
3.4 KiB
JSON
103 lines
3.4 KiB
JSON
[
|
|
{
|
|
"cmd": [
|
|
"python",
|
|
"-u",
|
|
"\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
|
|
"[CUSTOM_/_B_WORK]",
|
|
"511"
|
|
],
|
|
"name": "makedirs checkout_path",
|
|
"~followup_annotations": [
|
|
"@@@STEP_LOG_LINE@python.inline@@@@",
|
|
"@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
|
|
"@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
|
|
"@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
|
|
"@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
|
|
"@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
|
|
"@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
|
|
"@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
|
|
"@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
|
|
"@@@STEP_LOG_END@python.inline@@@"
|
|
]
|
|
},
|
|
{
|
|
"cmd": [
|
|
"python",
|
|
"-u",
|
|
"RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
|
|
"config",
|
|
"--spec",
|
|
"cache_dir = '[CUSTOM_/_B_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]\ntarget_os = ['llvm']"
|
|
],
|
|
"cwd": "[CUSTOM_/_B_WORK]",
|
|
"env": {
|
|
"BUILDTYPE": "Debug",
|
|
"CHROME_HEADLESS": "1",
|
|
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]",
|
|
"SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86-Debug"
|
|
},
|
|
"name": "gclient setup"
|
|
},
|
|
{
|
|
"cmd": [
|
|
"python",
|
|
"-u",
|
|
"RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
|
|
"sync",
|
|
"--nohooks",
|
|
"--force",
|
|
"--verbose",
|
|
"--delete_unversioned_trees",
|
|
"--revision",
|
|
"skia@abc123",
|
|
"--output-json",
|
|
"/path/to/tmp/json"
|
|
],
|
|
"cwd": "[CUSTOM_/_B_WORK]",
|
|
"env": {
|
|
"BUILDTYPE": "Debug",
|
|
"CHROME_HEADLESS": "1",
|
|
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]",
|
|
"SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86-Debug"
|
|
},
|
|
"name": "gclient sync",
|
|
"~followup_annotations": [
|
|
"@@@STEP_LOG_LINE@json.output@{@@@",
|
|
"@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
|
|
"@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@",
|
|
"@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@",
|
|
"@@@STEP_LOG_LINE@json.output@ }@@@",
|
|
"@@@STEP_LOG_LINE@json.output@ }@@@",
|
|
"@@@STEP_LOG_LINE@json.output@}@@@",
|
|
"@@@STEP_LOG_END@json.output@@@",
|
|
"@@@SET_BUILD_PROPERTY@got_revision@164710@@@"
|
|
]
|
|
},
|
|
{
|
|
"cmd": [
|
|
"make",
|
|
"most"
|
|
],
|
|
"cwd": "[CUSTOM_/_B_WORK]/skia",
|
|
"env": {
|
|
"BUILDTYPE": "Debug",
|
|
"CHROME_HEADLESS": "1",
|
|
"CHROME_PATH": "[SLAVE_BUILD]/src",
|
|
"GYP_DEFINES": "skia_arch_type=x86 skia_warnings_as_errors=1",
|
|
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]",
|
|
"SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86-Debug"
|
|
},
|
|
"name": "build most",
|
|
"~followup_annotations": [
|
|
"step returned non-zero exit code: 1",
|
|
"@@@STEP_FAILURE@@@"
|
|
]
|
|
},
|
|
{
|
|
"name": "$result",
|
|
"reason": "Step('build most') failed with return_code 1",
|
|
"recipe_result": null,
|
|
"status_code": 1
|
|
}
|
|
] |