1[ 2 { 3 "cmd": [ 4 "python", 5 "-u", 6 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", 7 "--json-output", 8 "/path/to/tmp/json", 9 "ensure-directory", 10 "--mode", 11 "0777", 12 "[START_DIR]\\tmp" 13 ], 14 "infra_step": true, 15 "name": "makedirs tmp_dir" 16 }, 17 { 18 "cmd": [ 19 "python", 20 "-u", 21 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", 22 "--json-output", 23 "/path/to/tmp/json", 24 "copy", 25 "[START_DIR]\\skia\\infra\\bots\\assets\\skp\\VERSION", 26 "/path/to/tmp/" 27 ], 28 "infra_step": true, 29 "name": "Get skp VERSION" 30 }, 31 { 32 "cmd": [ 33 "python", 34 "-u", 35 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", 36 "--json-output", 37 "/path/to/tmp/json", 38 "copy", 39 "42", 40 "[START_DIR]\\tmp\\SKP_VERSION" 41 ], 42 "infra_step": true, 43 "name": "write SKP_VERSION", 44 "~followup_annotations": [ 45 "@@@STEP_LOG_LINE@SKP_VERSION@42@@@", 46 "@@@STEP_LOG_END@SKP_VERSION@@@" 47 ] 48 }, 49 { 50 "cmd": [ 51 "python", 52 "-u", 53 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", 54 "--json-output", 55 "/path/to/tmp/json", 56 "copy", 57 "[START_DIR]\\skia\\infra\\bots\\assets\\skimage\\VERSION", 58 "/path/to/tmp/" 59 ], 60 "infra_step": true, 61 "name": "Get skimage VERSION" 62 }, 63 { 64 "cmd": [ 65 "python", 66 "-u", 67 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", 68 "--json-output", 69 "/path/to/tmp/json", 70 "copy", 71 "42", 72 "[START_DIR]\\tmp\\SK_IMAGE_VERSION" 73 ], 74 "infra_step": true, 75 "name": "write SK_IMAGE_VERSION", 76 "~followup_annotations": [ 77 "@@@STEP_LOG_LINE@SK_IMAGE_VERSION@42@@@", 78 "@@@STEP_LOG_END@SK_IMAGE_VERSION@@@" 79 ] 80 }, 81 { 82 "cmd": [ 83 "python", 84 "-u", 85 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", 86 "--json-output", 87 "/path/to/tmp/json", 88 "copy", 89 "[START_DIR]\\skia\\infra\\bots\\assets\\svg\\VERSION", 90 "/path/to/tmp/" 91 ], 92 "infra_step": true, 93 "name": "Get svg VERSION" 94 }, 95 { 96 "cmd": [ 97 "python", 98 "-u", 99 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", 100 "--json-output", 101 "/path/to/tmp/json", 102 "copy", 103 "42", 104 "[START_DIR]\\tmp\\SVG_VERSION" 105 ], 106 "infra_step": true, 107 "name": "write SVG_VERSION", 108 "~followup_annotations": [ 109 "@@@STEP_LOG_LINE@SVG_VERSION@42@@@", 110 "@@@STEP_LOG_END@SVG_VERSION@@@" 111 ] 112 }, 113 { 114 "cmd": [ 115 "python", 116 "-u", 117 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", 118 "--json-output", 119 "/path/to/tmp/json", 120 "rmtree", 121 "[START_DIR]\\[SWARM_OUT_DIR]" 122 ], 123 "infra_step": true, 124 "name": "rmtree [SWARM_OUT_DIR]" 125 }, 126 { 127 "cmd": [ 128 "python", 129 "-u", 130 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", 131 "--json-output", 132 "/path/to/tmp/json", 133 "ensure-directory", 134 "--mode", 135 "0777", 136 "[START_DIR]\\[SWARM_OUT_DIR]" 137 ], 138 "infra_step": true, 139 "name": "makedirs [SWARM_OUT_DIR]" 140 }, 141 { 142 "cmd": [ 143 "python", 144 "-u", 145 "import os\nprint os.environ.get('SWARMING_BOT_ID', '')\n" 146 ], 147 "name": "get swarming bot id", 148 "~followup_annotations": [ 149 "@@@STEP_LOG_LINE@python.inline@import os@@@", 150 "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_BOT_ID', '')@@@", 151 "@@@STEP_LOG_END@python.inline@@@" 152 ] 153 }, 154 { 155 "cmd": [ 156 "python", 157 "-u", 158 "import os\nprint os.environ.get('SWARMING_TASK_ID', '')\n" 159 ], 160 "name": "get swarming task id", 161 "~followup_annotations": [ 162 "@@@STEP_LOG_LINE@python.inline@import os@@@", 163 "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_TASK_ID', '')@@@", 164 "@@@STEP_LOG_END@python.inline@@@" 165 ] 166 }, 167 { 168 "cmd": [ 169 "powershell", 170 "-ExecutionPolicy", 171 "Unrestricted", 172 "-File", 173 "RECIPE_MODULE[skia::flavor]\\resources\\win_run_and_check_log.ps1", 174 "[START_DIR]\\build\\nanobench", 175 "-i", 176 "[START_DIR]\\skia\\resources", 177 "--skps", 178 "[START_DIR]\\skp", 179 "--images", 180 "[START_DIR]\\skimage\\nanobench", 181 "--svgs", 182 "[START_DIR]\\svg", 183 "--pre_log", 184 "--images", 185 "--gpuStatsDump", 186 "true", 187 "--scales", 188 "1.0", 189 "1.1", 190 "--nocpu", 191 "--config", 192 "angle_d3d11_es2", 193 "angle_d3d11_es2_msaa8", 194 "angle_gl_es2", 195 "angle_gl_es2_msaa8", 196 "--match", 197 "~inc0.gif", 198 "~inc1.gif", 199 "~incInterlaced.gif", 200 "~inc0.jpg", 201 "~incGray.jpg", 202 "~inc0.wbmp", 203 "~inc1.wbmp", 204 "~inc0.webp", 205 "~inc1.webp", 206 "~inc0.ico", 207 "~inc1.ico", 208 "~inc0.png", 209 "~inc1.png", 210 "~inc2.png", 211 "~inc12.png", 212 "~inc13.png", 213 "~inc14.png", 214 "~inc0.webp", 215 "~inc1.webp", 216 "--outResultsFile", 217 "[START_DIR]\\[SWARM_OUT_DIR]\\nanobench_abc123_1337000001.json", 218 "--properties", 219 "gitHash", 220 "abc123", 221 "swarming_bot_id", 222 "skia-bot-123", 223 "swarming_task_id", 224 "123456", 225 "--key", 226 "arch", 227 "x86_64", 228 "compiler", 229 "Clang", 230 "cpu_or_gpu", 231 "GPU", 232 "cpu_or_gpu_value", 233 "QuadroP400", 234 "extra_config", 235 "ANGLE", 236 "model", 237 "Golo", 238 "os", 239 "Win10" 240 ], 241 "env": { 242 "CHROME_HEADLESS": "1", 243 "PATH": "<PATH>;RECIPE_REPO[depot_tools]" 244 }, 245 "name": "nanobench" 246 }, 247 { 248 "cmd": [ 249 "python", 250 "-u", 251 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", 252 "--json-output", 253 "/path/to/tmp/json", 254 "ensure-directory", 255 "--mode", 256 "0777", 257 "[START_DIR]\\[SWARM_OUT_DIR]" 258 ], 259 "infra_step": true, 260 "name": "makedirs perf_dir" 261 }, 262 { 263 "name": "$result" 264 } 265]