[ { "cmd": [ "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_install" ], "env": { "BUILDTYPE": "Debug", "CHROME_HEADLESS": "1", "SKIA_OUT": "[SLAVE_BUILD]/out", "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" }, "name": "install iOSShell" }, { "cmd": [ "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_push_if_needed", "[SLAVE_BUILD]/skia/resources", "skiabot/skia_resources" ], "env": { "BUILDTYPE": "Debug", "CHROME_HEADLESS": "1", "SKIA_OUT": "[SLAVE_BUILD]/out", "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" }, "name": "push resources to skia_resources" }, { "cmd": [ "python", "-u", "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", "[SLAVE_BUILD]/skia/infra/bots/assets/skp/VERSION", "/path/to/tmp/" ], "name": "Get downloaded SKP VERSION" }, { "cmd": [ "python", "-u", "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", "42", "[SLAVE_BUILD]/tmp/SKP_VERSION" ], "name": "write SKP_VERSION" }, { "cmd": [ "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_cat_file", "skiabot/skia_tmp_dir/SKP_VERSION" ], "env": { "BUILDTYPE": "Debug", "CHROME_HEADLESS": "1", "SKIA_OUT": "[SLAVE_BUILD]/out", "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" }, "name": "read SKP_VERSION", "stdout": "/path/to/tmp/" }, { "cmd": [ "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_rm", "skiabot/skia_tmp_dir/SKP_VERSION" ], "env": { "BUILDTYPE": "Debug", "CHROME_HEADLESS": "1", "SKIA_OUT": "[SLAVE_BUILD]/out", "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" }, "name": "rm skiabot/skia_tmp_dir/SKP_VERSION" }, { "cmd": [ "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_rm", "skiabot/skia_skp/skps" ], "env": { "BUILDTYPE": "Debug", "CHROME_HEADLESS": "1", "SKIA_OUT": "[SLAVE_BUILD]/out", "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" }, "name": "rmdir skiabot/skia_skp/skps" }, { "cmd": [ "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_mkdir", "skiabot/skia_skp/skps" ], "env": { "BUILDTYPE": "Debug", "CHROME_HEADLESS": "1", "SKIA_OUT": "[SLAVE_BUILD]/out", "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" }, "name": "mkdir skiabot/skia_skp/skps" }, { "cmd": [ "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_push_if_needed", "[SLAVE_BUILD]/skp", "skiabot/skia_skp/skps" ], "env": { "BUILDTYPE": "Debug", "CHROME_HEADLESS": "1", "SKIA_OUT": "[SLAVE_BUILD]/out", "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" }, "name": "push skp to skps" }, { "cmd": [ "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_push_file", "[SLAVE_BUILD]/tmp/SKP_VERSION", "skiabot/skia_tmp_dir/SKP_VERSION" ], "env": { "BUILDTYPE": "Debug", "CHROME_HEADLESS": "1", "SKIA_OUT": "[SLAVE_BUILD]/out", "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" }, "name": "push [SLAVE_BUILD]/tmp/SKP_VERSION" }, { "cmd": [ "python", "-u", "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", "[SLAVE_BUILD]/skia/infra/bots/assets/skimage/VERSION", "/path/to/tmp/" ], "name": "Get downloaded skimage VERSION" }, { "cmd": [ "python", "-u", "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", "42", "[SLAVE_BUILD]/tmp/SK_IMAGE_VERSION" ], "name": "write SK_IMAGE_VERSION" }, { "cmd": [ "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_cat_file", "skiabot/skia_tmp_dir/SK_IMAGE_VERSION" ], "env": { "BUILDTYPE": "Debug", "CHROME_HEADLESS": "1", "SKIA_OUT": "[SLAVE_BUILD]/out", "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" }, "name": "read SK_IMAGE_VERSION", "stdout": "/path/to/tmp/" }, { "cmd": [ "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_rm", "skiabot/skia_tmp_dir/SK_IMAGE_VERSION" ], "env": { "BUILDTYPE": "Debug", "CHROME_HEADLESS": "1", "SKIA_OUT": "[SLAVE_BUILD]/out", "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" }, "name": "rm skiabot/skia_tmp_dir/SK_IMAGE_VERSION" }, { "cmd": [ "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_rm", "skiabot/skia_images" ], "env": { "BUILDTYPE": "Debug", "CHROME_HEADLESS": "1", "SKIA_OUT": "[SLAVE_BUILD]/out", "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" }, "name": "rmdir skiabot/skia_images" }, { "cmd": [ "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_mkdir", "skiabot/skia_images" ], "env": { "BUILDTYPE": "Debug", "CHROME_HEADLESS": "1", "SKIA_OUT": "[SLAVE_BUILD]/out", "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" }, "name": "mkdir skiabot/skia_images" }, { "cmd": [ "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_push_if_needed", "[SLAVE_BUILD]/skimage", "skiabot/skia_images" ], "env": { "BUILDTYPE": "Debug", "CHROME_HEADLESS": "1", "SKIA_OUT": "[SLAVE_BUILD]/out", "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" }, "name": "push skimage to skia_images" }, { "cmd": [ "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_push_file", "[SLAVE_BUILD]/tmp/SK_IMAGE_VERSION", "skiabot/skia_tmp_dir/SK_IMAGE_VERSION" ], "env": { "BUILDTYPE": "Debug", "CHROME_HEADLESS": "1", "SKIA_OUT": "[SLAVE_BUILD]/out", "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" }, "name": "push [SLAVE_BUILD]/tmp/SK_IMAGE_VERSION" }, { "cmd": [ "python", "-u", "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", "[SLAVE_BUILD]/skia/infra/bots/assets/svg/VERSION", "/path/to/tmp/" ], "name": "Get downloaded SVG VERSION" }, { "cmd": [ "python", "-u", "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", "42", "[SLAVE_BUILD]/tmp/SVG_VERSION" ], "name": "write SVG_VERSION" }, { "cmd": [ "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_cat_file", "skiabot/skia_tmp_dir/SVG_VERSION" ], "env": { "BUILDTYPE": "Debug", "CHROME_HEADLESS": "1", "SKIA_OUT": "[SLAVE_BUILD]/out", "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" }, "name": "read SVG_VERSION", "stdout": "/path/to/tmp/" }, { "cmd": [ "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_rm", "skiabot/skia_tmp_dir/SVG_VERSION" ], "env": { "BUILDTYPE": "Debug", "CHROME_HEADLESS": "1", "SKIA_OUT": "[SLAVE_BUILD]/out", "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" }, "name": "rm skiabot/skia_tmp_dir/SVG_VERSION" }, { "cmd": [ "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_rm", "skiabot/skia_svg/svgs" ], "env": { "BUILDTYPE": "Debug", "CHROME_HEADLESS": "1", "SKIA_OUT": "[SLAVE_BUILD]/out", "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" }, "name": "rmdir skiabot/skia_svg/svgs" }, { "cmd": [ "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_mkdir", "skiabot/skia_svg/svgs" ], "env": { "BUILDTYPE": "Debug", "CHROME_HEADLESS": "1", "SKIA_OUT": "[SLAVE_BUILD]/out", "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" }, "name": "mkdir skiabot/skia_svg/svgs" }, { "cmd": [ "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_push_if_needed", "[SLAVE_BUILD]/svg", "skiabot/skia_svg/svgs" ], "env": { "BUILDTYPE": "Debug", "CHROME_HEADLESS": "1", "SKIA_OUT": "[SLAVE_BUILD]/out", "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" }, "name": "push svg to svgs" }, { "cmd": [ "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_push_file", "[SLAVE_BUILD]/tmp/SVG_VERSION", "skiabot/skia_tmp_dir/SVG_VERSION" ], "env": { "BUILDTYPE": "Debug", "CHROME_HEADLESS": "1", "SKIA_OUT": "[SLAVE_BUILD]/out", "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" }, "name": "push [SLAVE_BUILD]/tmp/SVG_VERSION" }, { "cmd": [ "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_run_skia", "--nanobench", "--undefok", "-i", "skiabot/skia_resources", "--skps", "skiabot/skia_skp/skps", "--images", "skiabot/skia_images/nanobench", "--nocpu", "--pre_log", "--images", "--gpuStatsDump", "true", "--scales", "1.0", "1.1", "--skps", "ignore_skps", "--config", "8888", "gpu", "nonrendering", "angle", "hwui", "f16", "srgb", "msaa16", "nvpr16", "nvprdit16", "--match", "~blurroundrect", "~patch_grid", "~desk_carsvg", "~keymobi", "~path_hairline", "~GLInstancedArraysBench", "~inc0.gif", "~inc1.gif", "~incInterlaced.gif", "~inc0.jpg", "~incGray.jpg", "~inc0.wbmp", "~inc1.wbmp", "~inc0.webp", "~inc1.webp", "~inc0.ico", "~inc1.ico", "~inc0.png", "~inc1.png", "~inc2.png", "~inc12.png", "~inc13.png", "~inc14.png", "~inc0.webp", "~inc1.webp" ], "env": { "BUILDTYPE": "Debug", "CHROME_HEADLESS": "1", "SKIA_OUT": "[SLAVE_BUILD]/out", "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" }, "name": "nanobench" }, { "cmd": [ "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_restart" ], "env": { "BUILDTYPE": "Debug", "CHROME_HEADLESS": "1", "SKIA_OUT": "[SLAVE_BUILD]/out", "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" }, "name": "reboot" }, { "cmd": [ "sleep", "20" ], "env": { "BUILDTYPE": "Debug", "CHROME_HEADLESS": "1", "SKIA_OUT": "[SLAVE_BUILD]/out", "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" }, "name": "wait for reboot" }, { "name": "$result", "recipe_result": null, "status_code": 0 } ]