2017-02-02 18:45:15 +00:00
|
|
|
[
|
2018-05-04 17:46:15 +00:00
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"python",
|
|
|
|
"-u",
|
|
|
|
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
|
|
|
|
"--json-output",
|
|
|
|
"/path/to/tmp/json",
|
|
|
|
"ensure-directory",
|
|
|
|
"--mode",
|
|
|
|
"0777",
|
|
|
|
"[START_DIR]/tmp"
|
|
|
|
],
|
|
|
|
"infra_step": true,
|
|
|
|
"name": "makedirs tmp_dir"
|
|
|
|
},
|
2017-04-25 15:38:38 +00:00
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"ios.py"
|
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"CHROME_HEADLESS": "1",
|
|
|
|
"IOS_BUNDLE_ID": "com.google.nanobench",
|
|
|
|
"IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
|
2018-05-15 19:04:58 +00:00
|
|
|
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
2017-04-25 15:38:38 +00:00
|
|
|
},
|
|
|
|
"infra_step": true,
|
|
|
|
"name": "setup_device"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"ideviceinstaller",
|
|
|
|
"-i",
|
2018-06-01 14:08:53 +00:00
|
|
|
"[START_DIR]/build/dm.app"
|
2017-04-25 15:38:38 +00:00
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"CHROME_HEADLESS": "1",
|
|
|
|
"IOS_BUNDLE_ID": "com.google.nanobench",
|
|
|
|
"IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
|
2018-05-15 19:04:58 +00:00
|
|
|
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
2017-04-25 15:38:38 +00:00
|
|
|
},
|
|
|
|
"infra_step": true,
|
|
|
|
"name": "install_dm"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"ideviceinstaller",
|
|
|
|
"-i",
|
2018-06-01 14:08:53 +00:00
|
|
|
"[START_DIR]/build/nanobench.app"
|
2017-04-25 15:38:38 +00:00
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"CHROME_HEADLESS": "1",
|
|
|
|
"IOS_BUNDLE_ID": "com.google.nanobench",
|
|
|
|
"IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
|
2018-05-15 19:04:58 +00:00
|
|
|
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
2017-04-25 15:38:38 +00:00
|
|
|
},
|
|
|
|
"infra_step": true,
|
|
|
|
"name": "install_nanobench"
|
|
|
|
},
|
2017-02-02 23:55:03 +00:00
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"[START_DIR]/skia/platform_tools/ios/bin/ios_push_if_needed",
|
|
|
|
"[START_DIR]/skia/resources",
|
2017-02-03 18:31:05 +00:00
|
|
|
"resources"
|
2017-02-02 23:55:03 +00:00
|
|
|
],
|
2017-03-21 12:20:33 +00:00
|
|
|
"env": {
|
|
|
|
"CHROME_HEADLESS": "1",
|
|
|
|
"IOS_BUNDLE_ID": "com.google.nanobench",
|
2017-04-25 15:38:38 +00:00
|
|
|
"IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
|
2018-05-15 19:04:58 +00:00
|
|
|
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
2017-03-21 12:20:33 +00:00
|
|
|
},
|
2017-04-25 15:38:38 +00:00
|
|
|
"infra_step": true,
|
2017-02-02 23:55:03 +00:00
|
|
|
"name": "push_if_needed [START_DIR]/skia/resources"
|
|
|
|
},
|
2017-02-02 18:45:15 +00:00
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"python",
|
|
|
|
"-u",
|
2017-06-16 17:10:22 +00:00
|
|
|
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
|
|
|
|
"--json-output",
|
|
|
|
"/path/to/tmp/json",
|
|
|
|
"copy",
|
2017-02-02 18:45:15 +00:00
|
|
|
"[START_DIR]/skia/infra/bots/assets/skp/VERSION",
|
|
|
|
"/path/to/tmp/"
|
|
|
|
],
|
2017-03-21 12:20:33 +00:00
|
|
|
"env": {
|
2017-04-25 15:38:38 +00:00
|
|
|
"IOS_BUNDLE_ID": "com.google.nanobench",
|
|
|
|
"IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice"
|
2017-03-21 12:20:33 +00:00
|
|
|
},
|
2017-03-20 16:48:31 +00:00
|
|
|
"infra_step": true,
|
2018-03-19 20:52:37 +00:00
|
|
|
"name": "Get skp VERSION"
|
2017-02-02 18:45:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"python",
|
|
|
|
"-u",
|
2017-06-16 17:10:22 +00:00
|
|
|
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
|
|
|
|
"--json-output",
|
|
|
|
"/path/to/tmp/json",
|
|
|
|
"copy",
|
2017-02-02 18:45:15 +00:00
|
|
|
"42",
|
|
|
|
"[START_DIR]/tmp/SKP_VERSION"
|
|
|
|
],
|
2017-03-21 12:20:33 +00:00
|
|
|
"env": {
|
2017-04-25 15:38:38 +00:00
|
|
|
"IOS_BUNDLE_ID": "com.google.nanobench",
|
|
|
|
"IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice"
|
2017-03-21 12:20:33 +00:00
|
|
|
},
|
2017-03-20 16:48:31 +00:00
|
|
|
"infra_step": true,
|
2017-02-02 18:45:15 +00:00
|
|
|
"name": "write SKP_VERSION"
|
|
|
|
},
|
2017-02-03 18:31:05 +00:00
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"[START_DIR]/skia/platform_tools/ios/bin/ios_cat_file",
|
|
|
|
"tmp/SKP_VERSION"
|
|
|
|
],
|
2017-03-21 12:20:33 +00:00
|
|
|
"env": {
|
|
|
|
"CHROME_HEADLESS": "1",
|
|
|
|
"IOS_BUNDLE_ID": "com.google.nanobench",
|
2017-04-25 15:38:38 +00:00
|
|
|
"IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
|
2018-05-15 19:04:58 +00:00
|
|
|
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
2017-03-21 12:20:33 +00:00
|
|
|
},
|
2017-04-25 15:38:38 +00:00
|
|
|
"infra_step": true,
|
2017-02-03 18:31:05 +00:00
|
|
|
"name": "cat_file tmp/SKP_VERSION",
|
|
|
|
"stdout": "/path/to/tmp/"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"[START_DIR]/skia/platform_tools/ios/bin/ios_rm",
|
|
|
|
"tmp/SKP_VERSION"
|
|
|
|
],
|
2017-03-21 12:20:33 +00:00
|
|
|
"env": {
|
|
|
|
"CHROME_HEADLESS": "1",
|
|
|
|
"IOS_BUNDLE_ID": "com.google.nanobench",
|
2017-04-25 15:38:38 +00:00
|
|
|
"IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
|
2018-05-15 19:04:58 +00:00
|
|
|
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
2017-03-21 12:20:33 +00:00
|
|
|
},
|
2017-04-25 15:38:38 +00:00
|
|
|
"infra_step": true,
|
2017-02-03 18:31:05 +00:00
|
|
|
"name": "rm tmp/SKP_VERSION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"[START_DIR]/skia/platform_tools/ios/bin/ios_rm",
|
|
|
|
"skps"
|
|
|
|
],
|
2017-03-21 12:20:33 +00:00
|
|
|
"env": {
|
|
|
|
"CHROME_HEADLESS": "1",
|
|
|
|
"IOS_BUNDLE_ID": "com.google.nanobench",
|
2017-04-25 15:38:38 +00:00
|
|
|
"IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
|
2018-05-15 19:04:58 +00:00
|
|
|
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
2017-03-21 12:20:33 +00:00
|
|
|
},
|
2017-04-25 15:38:38 +00:00
|
|
|
"infra_step": true,
|
2017-02-03 18:31:05 +00:00
|
|
|
"name": "rm skps"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"[START_DIR]/skia/platform_tools/ios/bin/ios_mkdir",
|
|
|
|
"skps"
|
|
|
|
],
|
2017-03-21 12:20:33 +00:00
|
|
|
"env": {
|
|
|
|
"CHROME_HEADLESS": "1",
|
|
|
|
"IOS_BUNDLE_ID": "com.google.nanobench",
|
2017-04-25 15:38:38 +00:00
|
|
|
"IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
|
2018-05-15 19:04:58 +00:00
|
|
|
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
2017-03-21 12:20:33 +00:00
|
|
|
},
|
2017-04-25 15:38:38 +00:00
|
|
|
"infra_step": true,
|
2017-02-03 18:31:05 +00:00
|
|
|
"name": "mkdir skps"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"[START_DIR]/skia/platform_tools/ios/bin/ios_push_if_needed",
|
|
|
|
"[START_DIR]/skp",
|
|
|
|
"skps"
|
|
|
|
],
|
2017-03-21 12:20:33 +00:00
|
|
|
"env": {
|
|
|
|
"CHROME_HEADLESS": "1",
|
|
|
|
"IOS_BUNDLE_ID": "com.google.nanobench",
|
2017-04-25 15:38:38 +00:00
|
|
|
"IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
|
2018-05-15 19:04:58 +00:00
|
|
|
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
2017-03-21 12:20:33 +00:00
|
|
|
},
|
2017-04-25 15:38:38 +00:00
|
|
|
"infra_step": true,
|
2017-02-03 18:31:05 +00:00
|
|
|
"name": "push_if_needed [START_DIR]/skp"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"[START_DIR]/skia/platform_tools/ios/bin/ios_push_file",
|
|
|
|
"[START_DIR]/tmp/SKP_VERSION",
|
|
|
|
"tmp/SKP_VERSION"
|
|
|
|
],
|
2017-03-21 12:20:33 +00:00
|
|
|
"env": {
|
|
|
|
"CHROME_HEADLESS": "1",
|
|
|
|
"IOS_BUNDLE_ID": "com.google.nanobench",
|
2017-04-25 15:38:38 +00:00
|
|
|
"IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
|
2018-05-15 19:04:58 +00:00
|
|
|
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
2017-03-21 12:20:33 +00:00
|
|
|
},
|
2017-04-25 15:38:38 +00:00
|
|
|
"infra_step": true,
|
2017-02-03 18:31:05 +00:00
|
|
|
"name": "push_file [START_DIR]/tmp/SKP_VERSION"
|
|
|
|
},
|
2017-02-02 18:45:15 +00:00
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"python",
|
|
|
|
"-u",
|
2017-06-16 17:10:22 +00:00
|
|
|
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
|
|
|
|
"--json-output",
|
|
|
|
"/path/to/tmp/json",
|
|
|
|
"copy",
|
2017-02-02 18:45:15 +00:00
|
|
|
"[START_DIR]/skia/infra/bots/assets/skimage/VERSION",
|
|
|
|
"/path/to/tmp/"
|
|
|
|
],
|
2017-03-21 12:20:33 +00:00
|
|
|
"env": {
|
2017-04-25 15:38:38 +00:00
|
|
|
"IOS_BUNDLE_ID": "com.google.nanobench",
|
|
|
|
"IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice"
|
2017-03-21 12:20:33 +00:00
|
|
|
},
|
2017-03-20 16:48:31 +00:00
|
|
|
"infra_step": true,
|
2018-03-19 20:52:37 +00:00
|
|
|
"name": "Get skimage VERSION"
|
2017-02-02 18:45:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"python",
|
|
|
|
"-u",
|
2017-06-16 17:10:22 +00:00
|
|
|
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
|
|
|
|
"--json-output",
|
|
|
|
"/path/to/tmp/json",
|
|
|
|
"copy",
|
2017-02-02 18:45:15 +00:00
|
|
|
"42",
|
|
|
|
"[START_DIR]/tmp/SK_IMAGE_VERSION"
|
|
|
|
],
|
2017-03-21 12:20:33 +00:00
|
|
|
"env": {
|
2017-04-25 15:38:38 +00:00
|
|
|
"IOS_BUNDLE_ID": "com.google.nanobench",
|
|
|
|
"IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice"
|
2017-03-21 12:20:33 +00:00
|
|
|
},
|
2017-03-20 16:48:31 +00:00
|
|
|
"infra_step": true,
|
2017-02-02 18:45:15 +00:00
|
|
|
"name": "write SK_IMAGE_VERSION"
|
|
|
|
},
|
2017-02-03 18:31:05 +00:00
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"[START_DIR]/skia/platform_tools/ios/bin/ios_cat_file",
|
|
|
|
"tmp/SK_IMAGE_VERSION"
|
|
|
|
],
|
2017-03-21 12:20:33 +00:00
|
|
|
"env": {
|
|
|
|
"CHROME_HEADLESS": "1",
|
|
|
|
"IOS_BUNDLE_ID": "com.google.nanobench",
|
2017-04-25 15:38:38 +00:00
|
|
|
"IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
|
2018-05-15 19:04:58 +00:00
|
|
|
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
2017-03-21 12:20:33 +00:00
|
|
|
},
|
2017-04-25 15:38:38 +00:00
|
|
|
"infra_step": true,
|
2017-02-03 18:31:05 +00:00
|
|
|
"name": "cat_file tmp/SK_IMAGE_VERSION",
|
|
|
|
"stdout": "/path/to/tmp/"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"[START_DIR]/skia/platform_tools/ios/bin/ios_rm",
|
|
|
|
"tmp/SK_IMAGE_VERSION"
|
|
|
|
],
|
2017-03-21 12:20:33 +00:00
|
|
|
"env": {
|
|
|
|
"CHROME_HEADLESS": "1",
|
|
|
|
"IOS_BUNDLE_ID": "com.google.nanobench",
|
2017-04-25 15:38:38 +00:00
|
|
|
"IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
|
2018-05-15 19:04:58 +00:00
|
|
|
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
2017-03-21 12:20:33 +00:00
|
|
|
},
|
2017-04-25 15:38:38 +00:00
|
|
|
"infra_step": true,
|
2017-02-03 18:31:05 +00:00
|
|
|
"name": "rm tmp/SK_IMAGE_VERSION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"[START_DIR]/skia/platform_tools/ios/bin/ios_rm",
|
|
|
|
"images"
|
|
|
|
],
|
2017-03-21 12:20:33 +00:00
|
|
|
"env": {
|
|
|
|
"CHROME_HEADLESS": "1",
|
|
|
|
"IOS_BUNDLE_ID": "com.google.nanobench",
|
2017-04-25 15:38:38 +00:00
|
|
|
"IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
|
2018-05-15 19:04:58 +00:00
|
|
|
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
2017-03-21 12:20:33 +00:00
|
|
|
},
|
2017-04-25 15:38:38 +00:00
|
|
|
"infra_step": true,
|
2017-02-03 18:31:05 +00:00
|
|
|
"name": "rm images"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"[START_DIR]/skia/platform_tools/ios/bin/ios_mkdir",
|
|
|
|
"images"
|
|
|
|
],
|
2017-03-21 12:20:33 +00:00
|
|
|
"env": {
|
|
|
|
"CHROME_HEADLESS": "1",
|
|
|
|
"IOS_BUNDLE_ID": "com.google.nanobench",
|
2017-04-25 15:38:38 +00:00
|
|
|
"IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
|
2018-05-15 19:04:58 +00:00
|
|
|
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
2017-03-21 12:20:33 +00:00
|
|
|
},
|
2017-04-25 15:38:38 +00:00
|
|
|
"infra_step": true,
|
2017-02-03 18:31:05 +00:00
|
|
|
"name": "mkdir images"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"[START_DIR]/skia/platform_tools/ios/bin/ios_push_if_needed",
|
|
|
|
"[START_DIR]/skimage",
|
|
|
|
"images"
|
|
|
|
],
|
2017-03-21 12:20:33 +00:00
|
|
|
"env": {
|
|
|
|
"CHROME_HEADLESS": "1",
|
|
|
|
"IOS_BUNDLE_ID": "com.google.nanobench",
|
2017-04-25 15:38:38 +00:00
|
|
|
"IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
|
2018-05-15 19:04:58 +00:00
|
|
|
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
2017-03-21 12:20:33 +00:00
|
|
|
},
|
2017-04-25 15:38:38 +00:00
|
|
|
"infra_step": true,
|
2017-02-03 18:31:05 +00:00
|
|
|
"name": "push_if_needed [START_DIR]/skimage"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"[START_DIR]/skia/platform_tools/ios/bin/ios_push_file",
|
|
|
|
"[START_DIR]/tmp/SK_IMAGE_VERSION",
|
|
|
|
"tmp/SK_IMAGE_VERSION"
|
|
|
|
],
|
2017-03-21 12:20:33 +00:00
|
|
|
"env": {
|
|
|
|
"CHROME_HEADLESS": "1",
|
|
|
|
"IOS_BUNDLE_ID": "com.google.nanobench",
|
2017-04-25 15:38:38 +00:00
|
|
|
"IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
|
2018-05-15 19:04:58 +00:00
|
|
|
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
2017-03-21 12:20:33 +00:00
|
|
|
},
|
2017-04-25 15:38:38 +00:00
|
|
|
"infra_step": true,
|
2017-02-03 18:31:05 +00:00
|
|
|
"name": "push_file [START_DIR]/tmp/SK_IMAGE_VERSION"
|
|
|
|
},
|
2017-02-02 18:45:15 +00:00
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"python",
|
|
|
|
"-u",
|
2017-06-16 17:10:22 +00:00
|
|
|
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
|
|
|
|
"--json-output",
|
|
|
|
"/path/to/tmp/json",
|
|
|
|
"copy",
|
2017-02-02 18:45:15 +00:00
|
|
|
"[START_DIR]/skia/infra/bots/assets/svg/VERSION",
|
|
|
|
"/path/to/tmp/"
|
|
|
|
],
|
2017-03-21 12:20:33 +00:00
|
|
|
"env": {
|
2017-04-25 15:38:38 +00:00
|
|
|
"IOS_BUNDLE_ID": "com.google.nanobench",
|
|
|
|
"IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice"
|
2017-03-21 12:20:33 +00:00
|
|
|
},
|
2017-03-20 16:48:31 +00:00
|
|
|
"infra_step": true,
|
2018-03-19 20:52:37 +00:00
|
|
|
"name": "Get svg VERSION"
|
2017-02-02 18:45:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"python",
|
|
|
|
"-u",
|
2017-06-16 17:10:22 +00:00
|
|
|
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
|
|
|
|
"--json-output",
|
|
|
|
"/path/to/tmp/json",
|
|
|
|
"copy",
|
2017-02-02 18:45:15 +00:00
|
|
|
"42",
|
|
|
|
"[START_DIR]/tmp/SVG_VERSION"
|
|
|
|
],
|
2017-03-21 12:20:33 +00:00
|
|
|
"env": {
|
2017-04-25 15:38:38 +00:00
|
|
|
"IOS_BUNDLE_ID": "com.google.nanobench",
|
|
|
|
"IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice"
|
2017-03-21 12:20:33 +00:00
|
|
|
},
|
2017-03-20 16:48:31 +00:00
|
|
|
"infra_step": true,
|
2017-02-02 18:45:15 +00:00
|
|
|
"name": "write SVG_VERSION"
|
|
|
|
},
|
2017-02-03 18:31:05 +00:00
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"[START_DIR]/skia/platform_tools/ios/bin/ios_cat_file",
|
|
|
|
"tmp/SVG_VERSION"
|
|
|
|
],
|
2017-03-21 12:20:33 +00:00
|
|
|
"env": {
|
|
|
|
"CHROME_HEADLESS": "1",
|
|
|
|
"IOS_BUNDLE_ID": "com.google.nanobench",
|
2017-04-25 15:38:38 +00:00
|
|
|
"IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
|
2018-05-15 19:04:58 +00:00
|
|
|
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
2017-03-21 12:20:33 +00:00
|
|
|
},
|
2017-04-25 15:38:38 +00:00
|
|
|
"infra_step": true,
|
2017-02-03 18:31:05 +00:00
|
|
|
"name": "cat_file tmp/SVG_VERSION",
|
|
|
|
"stdout": "/path/to/tmp/"
|
|
|
|
},
|
2017-02-02 18:45:15 +00:00
|
|
|
{
|
|
|
|
"cmd": [
|
2017-02-02 23:55:03 +00:00
|
|
|
"[START_DIR]/skia/platform_tools/ios/bin/ios_rm",
|
2017-02-03 18:31:05 +00:00
|
|
|
"tmp/SVG_VERSION"
|
|
|
|
],
|
2017-03-21 12:20:33 +00:00
|
|
|
"env": {
|
|
|
|
"CHROME_HEADLESS": "1",
|
|
|
|
"IOS_BUNDLE_ID": "com.google.nanobench",
|
2017-04-25 15:38:38 +00:00
|
|
|
"IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
|
2018-05-15 19:04:58 +00:00
|
|
|
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
2017-03-21 12:20:33 +00:00
|
|
|
},
|
2017-04-25 15:38:38 +00:00
|
|
|
"infra_step": true,
|
2017-02-03 18:31:05 +00:00
|
|
|
"name": "rm tmp/SVG_VERSION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"[START_DIR]/skia/platform_tools/ios/bin/ios_rm",
|
|
|
|
"svgs"
|
2017-02-02 18:45:15 +00:00
|
|
|
],
|
2017-03-21 12:20:33 +00:00
|
|
|
"env": {
|
|
|
|
"CHROME_HEADLESS": "1",
|
|
|
|
"IOS_BUNDLE_ID": "com.google.nanobench",
|
2017-04-25 15:38:38 +00:00
|
|
|
"IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
|
2018-05-15 19:04:58 +00:00
|
|
|
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
2017-03-21 12:20:33 +00:00
|
|
|
},
|
2017-04-25 15:38:38 +00:00
|
|
|
"infra_step": true,
|
2017-02-03 18:31:05 +00:00
|
|
|
"name": "rm svgs"
|
2017-02-02 18:45:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
2017-02-02 23:55:03 +00:00
|
|
|
"[START_DIR]/skia/platform_tools/ios/bin/ios_mkdir",
|
2017-02-03 18:31:05 +00:00
|
|
|
"svgs"
|
|
|
|
],
|
2017-03-21 12:20:33 +00:00
|
|
|
"env": {
|
|
|
|
"CHROME_HEADLESS": "1",
|
|
|
|
"IOS_BUNDLE_ID": "com.google.nanobench",
|
2017-04-25 15:38:38 +00:00
|
|
|
"IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
|
2018-05-15 19:04:58 +00:00
|
|
|
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
2017-03-21 12:20:33 +00:00
|
|
|
},
|
2017-04-25 15:38:38 +00:00
|
|
|
"infra_step": true,
|
2017-02-03 18:31:05 +00:00
|
|
|
"name": "mkdir svgs"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"[START_DIR]/skia/platform_tools/ios/bin/ios_push_if_needed",
|
|
|
|
"[START_DIR]/svg",
|
|
|
|
"svgs"
|
|
|
|
],
|
2017-03-21 12:20:33 +00:00
|
|
|
"env": {
|
|
|
|
"CHROME_HEADLESS": "1",
|
|
|
|
"IOS_BUNDLE_ID": "com.google.nanobench",
|
2017-04-25 15:38:38 +00:00
|
|
|
"IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
|
2018-05-15 19:04:58 +00:00
|
|
|
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
2017-03-21 12:20:33 +00:00
|
|
|
},
|
2017-04-25 15:38:38 +00:00
|
|
|
"infra_step": true,
|
2017-02-03 18:31:05 +00:00
|
|
|
"name": "push_if_needed [START_DIR]/svg"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"[START_DIR]/skia/platform_tools/ios/bin/ios_push_file",
|
|
|
|
"[START_DIR]/tmp/SVG_VERSION",
|
|
|
|
"tmp/SVG_VERSION"
|
|
|
|
],
|
2017-03-21 12:20:33 +00:00
|
|
|
"env": {
|
|
|
|
"CHROME_HEADLESS": "1",
|
|
|
|
"IOS_BUNDLE_ID": "com.google.nanobench",
|
2017-04-25 15:38:38 +00:00
|
|
|
"IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
|
2018-05-15 19:04:58 +00:00
|
|
|
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
2017-03-21 12:20:33 +00:00
|
|
|
},
|
2017-04-25 15:38:38 +00:00
|
|
|
"infra_step": true,
|
2017-02-03 18:31:05 +00:00
|
|
|
"name": "push_file [START_DIR]/tmp/SVG_VERSION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"[START_DIR]/skia/platform_tools/ios/bin/ios_rm",
|
|
|
|
"perf"
|
2017-02-02 18:45:15 +00:00
|
|
|
],
|
2017-03-21 12:20:33 +00:00
|
|
|
"env": {
|
|
|
|
"CHROME_HEADLESS": "1",
|
|
|
|
"IOS_BUNDLE_ID": "com.google.nanobench",
|
2017-04-25 15:38:38 +00:00
|
|
|
"IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
|
2018-05-15 19:04:58 +00:00
|
|
|
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
2017-03-21 12:20:33 +00:00
|
|
|
},
|
2017-04-25 15:38:38 +00:00
|
|
|
"infra_step": true,
|
2017-02-03 18:31:05 +00:00
|
|
|
"name": "rm perf"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"[START_DIR]/skia/platform_tools/ios/bin/ios_mkdir",
|
|
|
|
"perf"
|
|
|
|
],
|
2017-03-21 12:20:33 +00:00
|
|
|
"env": {
|
|
|
|
"CHROME_HEADLESS": "1",
|
|
|
|
"IOS_BUNDLE_ID": "com.google.nanobench",
|
2017-04-25 15:38:38 +00:00
|
|
|
"IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
|
2018-05-15 19:04:58 +00:00
|
|
|
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
2017-03-21 12:20:33 +00:00
|
|
|
},
|
2017-04-25 15:38:38 +00:00
|
|
|
"infra_step": true,
|
2017-02-03 18:31:05 +00:00
|
|
|
"name": "mkdir perf"
|
2017-02-02 18:45:15 +00:00
|
|
|
},
|
2017-04-10 13:56:10 +00:00
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"python",
|
|
|
|
"-u",
|
|
|
|
"import os\nprint os.environ.get('SWARMING_BOT_ID', '')\n"
|
|
|
|
],
|
|
|
|
"env": {
|
2017-04-25 15:38:38 +00:00
|
|
|
"IOS_BUNDLE_ID": "com.google.nanobench",
|
|
|
|
"IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice"
|
2017-04-10 13:56:10 +00:00
|
|
|
},
|
|
|
|
"name": "get swarming bot id",
|
|
|
|
"stdout": "/path/to/tmp/",
|
|
|
|
"~followup_annotations": [
|
|
|
|
"@@@STEP_LOG_LINE@python.inline@import os@@@",
|
|
|
|
"@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_BOT_ID', '')@@@",
|
|
|
|
"@@@STEP_LOG_END@python.inline@@@"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"python",
|
|
|
|
"-u",
|
|
|
|
"import os\nprint os.environ.get('SWARMING_TASK_ID', '')\n"
|
|
|
|
],
|
|
|
|
"env": {
|
2017-04-25 15:38:38 +00:00
|
|
|
"IOS_BUNDLE_ID": "com.google.nanobench",
|
|
|
|
"IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice"
|
2017-04-10 13:56:10 +00:00
|
|
|
},
|
|
|
|
"name": "get swarming task id",
|
|
|
|
"stdout": "/path/to/tmp/",
|
|
|
|
"~followup_annotations": [
|
|
|
|
"@@@STEP_LOG_LINE@python.inline@import os@@@",
|
|
|
|
"@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_TASK_ID', '')@@@",
|
|
|
|
"@@@STEP_LOG_END@python.inline@@@"
|
|
|
|
]
|
|
|
|
},
|
2017-02-02 19:05:11 +00:00
|
|
|
{
|
|
|
|
"cmd": [
|
2017-04-25 15:38:38 +00:00
|
|
|
"idevice-app-runner",
|
|
|
|
"-s",
|
|
|
|
"com.google.nanobench",
|
2017-02-02 21:43:21 +00:00
|
|
|
"--args",
|
2017-04-25 15:38:38 +00:00
|
|
|
"-i",
|
|
|
|
"resources",
|
|
|
|
"--skps",
|
|
|
|
"skps",
|
|
|
|
"--images",
|
|
|
|
"images/nanobench",
|
|
|
|
"--svgs",
|
|
|
|
"svgs",
|
|
|
|
"--pre_log",
|
|
|
|
"--images",
|
|
|
|
"--gpuStatsDump",
|
|
|
|
"true",
|
|
|
|
"--scales",
|
|
|
|
"1.0",
|
|
|
|
"1.1",
|
|
|
|
"--skps",
|
|
|
|
"ignore_skps",
|
2017-08-11 01:25:55 +00:00
|
|
|
"--nocpu",
|
2017-04-25 15:38:38 +00:00
|
|
|
"--config",
|
|
|
|
"gles",
|
2017-08-11 19:32:50 +00:00
|
|
|
"glessrgb",
|
2017-04-25 15:38:38 +00:00
|
|
|
"--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",
|
|
|
|
"--outResultsFile",
|
|
|
|
"perf/nanobench_abc123_1337000001.json",
|
|
|
|
"--properties",
|
|
|
|
"gitHash",
|
|
|
|
"abc123",
|
|
|
|
"swarming_bot_id",
|
2017-04-30 15:14:51 +00:00
|
|
|
"skia-bot-123",
|
2017-04-25 15:38:38 +00:00
|
|
|
"swarming_task_id",
|
2017-04-30 15:14:51 +00:00
|
|
|
"123456",
|
2017-04-25 15:38:38 +00:00
|
|
|
"--key",
|
|
|
|
"arch",
|
2017-09-26 18:11:15 +00:00
|
|
|
"arm64",
|
2017-04-25 15:38:38 +00:00
|
|
|
"compiler",
|
|
|
|
"Clang",
|
|
|
|
"cpu_or_gpu",
|
|
|
|
"GPU",
|
|
|
|
"cpu_or_gpu_value",
|
2018-08-22 17:10:32 +00:00
|
|
|
"PowerVRGT7800",
|
2017-04-25 15:38:38 +00:00
|
|
|
"model",
|
2017-09-26 18:11:15 +00:00
|
|
|
"iPadPro",
|
2017-04-25 15:38:38 +00:00
|
|
|
"os",
|
|
|
|
"iOS"
|
2017-02-02 18:45:15 +00:00
|
|
|
],
|
2017-02-06 17:45:29 +00:00
|
|
|
"env": {
|
|
|
|
"CHROME_HEADLESS": "1",
|
2017-02-06 18:44:12 +00:00
|
|
|
"IOS_BUNDLE_ID": "com.google.nanobench",
|
2017-04-25 15:38:38 +00:00
|
|
|
"IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
|
2018-05-15 19:04:58 +00:00
|
|
|
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
2017-02-06 17:45:29 +00:00
|
|
|
},
|
2017-02-02 21:43:21 +00:00
|
|
|
"name": "nanobench"
|
2017-02-02 18:45:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"python",
|
|
|
|
"-u",
|
2017-07-07 21:36:58 +00:00
|
|
|
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
|
|
|
|
"--json-output",
|
|
|
|
"/path/to/tmp/json",
|
|
|
|
"ensure-directory",
|
|
|
|
"--mode",
|
|
|
|
"0777",
|
2018-06-20 17:23:16 +00:00
|
|
|
"[START_DIR]/[SWARM_OUT_DIR]"
|
2017-02-02 18:45:15 +00:00
|
|
|
],
|
2017-03-21 12:20:33 +00:00
|
|
|
"env": {
|
2017-04-25 15:38:38 +00:00
|
|
|
"IOS_BUNDLE_ID": "com.google.nanobench",
|
|
|
|
"IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice"
|
2017-03-21 12:20:33 +00:00
|
|
|
},
|
2017-06-16 17:10:22 +00:00
|
|
|
"infra_step": true,
|
2017-07-07 21:36:58 +00:00
|
|
|
"name": "makedirs perf_dir"
|
2017-02-02 18:45:15 +00:00
|
|
|
},
|
2017-02-02 23:55:03 +00:00
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"[START_DIR]/skia/platform_tools/ios/bin/ios_pull_if_needed",
|
2017-02-03 18:31:05 +00:00
|
|
|
"perf",
|
2018-06-20 17:23:16 +00:00
|
|
|
"[START_DIR]/[SWARM_OUT_DIR]"
|
2017-02-02 23:55:03 +00:00
|
|
|
],
|
2017-03-21 12:20:33 +00:00
|
|
|
"env": {
|
|
|
|
"CHROME_HEADLESS": "1",
|
|
|
|
"IOS_BUNDLE_ID": "com.google.nanobench",
|
2017-04-25 15:38:38 +00:00
|
|
|
"IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
|
2018-05-15 19:04:58 +00:00
|
|
|
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
2017-03-21 12:20:33 +00:00
|
|
|
},
|
2017-04-25 15:38:38 +00:00
|
|
|
"infra_step": true,
|
2017-02-03 18:31:05 +00:00
|
|
|
"name": "pull_if_needed perf"
|
2017-02-02 23:55:03 +00:00
|
|
|
},
|
2017-02-02 18:45:15 +00:00
|
|
|
{
|
|
|
|
"name": "$result",
|
|
|
|
"recipe_result": null,
|
|
|
|
"status_code": 0
|
|
|
|
}
|
|
|
|
]
|