| 1 |
[ |
| 2 |
{ |
| 3 |
"cmd": [], |
| 4 |
"name": "Docker setup" |
| 5 |
}, |
| 6 |
{ |
| 7 |
"cmd": [ |
| 8 |
"python3", |
| 9 |
"RECIPE_MODULE[skia::docker]/resources/get_uid_gid.py" |
| 10 |
], |
| 11 |
"name": "Docker setup.Get uid and gid", |
| 12 |
"~followup_annotations": [ |
| 13 |
"@@@STEP_NEST_LEVEL@1@@@" |
| 14 |
] |
| 15 |
}, |
| 16 |
{ |
| 17 |
"cmd": [ |
| 18 |
"vpython3", |
| 19 |
"-u", |
| 20 |
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 21 |
"--json-output", |
| 22 |
"/path/to/tmp/json", |
| 23 |
"ensure-directory", |
| 24 |
"--mode", |
| 25 |
"0o777", |
| 26 |
"[START_DIR]/cache/work/skia/out/Build-Debian11-GCC-x86_64-Release-Shared_Docker/Release" |
| 27 |
], |
| 28 |
"infra_step": true, |
| 29 |
"name": "Docker setup.mkdirs out_dir", |
| 30 |
"~followup_annotations": [ |
| 31 |
"@@@STEP_NEST_LEVEL@1@@@" |
| 32 |
] |
| 33 |
}, |
| 34 |
{ |
| 35 |
"cmd": [ |
| 36 |
"chmod", |
| 37 |
"777", |
| 38 |
"[START_DIR]/cache/work/skia/out/Build-Debian11-GCC-x86_64-Release-Shared_Docker/Release" |
| 39 |
], |
| 40 |
"infra_step": true, |
| 41 |
"name": "Docker setup.chmod 777 [START_DIR]/cache/work/skia/out/Build-Debian11-GCC-x86_64-Release-Shared_Docker/Release", |
| 42 |
"~followup_annotations": [ |
| 43 |
"@@@STEP_NEST_LEVEL@1@@@" |
| 44 |
] |
| 45 |
}, |
| 46 |
{ |
| 47 |
"cmd": [ |
| 48 |
"chmod", |
| 49 |
"755", |
| 50 |
"[START_DIR]" |
| 51 |
], |
| 52 |
"infra_step": true, |
| 53 |
"name": "Docker setup.chmod 755 [START_DIR]", |
| 54 |
"~followup_annotations": [ |
| 55 |
"@@@STEP_NEST_LEVEL@1@@@" |
| 56 |
] |
| 57 |
}, |
| 58 |
{ |
| 59 |
"cmd": [ |
| 60 |
"chmod", |
| 61 |
"0755", |
| 62 |
"RECIPE_MODULE[skia::build]/resources/docker-compile.sh" |
| 63 |
], |
| 64 |
"infra_step": true, |
| 65 |
"name": "Docker setup.chmod 0755 RECIPE_MODULE[skia::build]/resources/docker-compile.sh", |
| 66 |
"~followup_annotations": [ |
| 67 |
"@@@STEP_NEST_LEVEL@1@@@" |
| 68 |
] |
| 69 |
}, |
| 70 |
{ |
| 71 |
"cmd": [ |
| 72 |
"docker", |
| 73 |
"run", |
| 74 |
"--shm-size=2gb", |
| 75 |
"--rm", |
| 76 |
"--user", |
| 77 |
"13:17", |
| 78 |
"--mount", |
| 79 |
"type=bind,source=[START_DIR],target=/SRC", |
| 80 |
"--mount", |
| 81 |
"type=bind,source=[START_DIR]/cache/work/skia/out/Build-Debian11-GCC-x86_64-Release-Shared_Docker/Release,target=/OUT", |
| 82 |
"-e", |
| 83 |
"CCACHE_COMPILERCHECK=content", |
| 84 |
"-e", |
| 85 |
"CCACHE_DIR=/SRC/cache/ccache", |
| 86 |
"-e", |
| 87 |
"CCACHE_MAXFILES=0", |
| 88 |
"-e", |
| 89 |
"CCACHE_MAXSIZE=75G", |
| 90 |
"gcr.io/skia-public/gcc-debian11@sha256:1117ea368f43e45e0f543f74c8e3bf7ff6932df54ddaa4ba1fe6131209110d3d", |
| 91 |
"/SRC/../RECIPE_MODULE[skia::build]/resources/docker-compile.sh", |
| 92 |
"cc=\"gcc\" cc_wrapper=\"/SRC/ccache_linux/bin/ccache\" cxx=\"g++\" extra_cflags=[\"-g1\", \"-DREBUILD_IF_CHANGED_docker_image=gcr.io/skia-public/gcc-debian11@sha256:1117ea368f43e45e0f543f74c8e3bf7ff6932df54ddaa4ba1fe6131209110d3d\"] is_component_build=true is_debug=false is_trivial_abi=true link_pool_depth=2 skia_use_client_icu=true skia_use_libgrapheme=true target_cpu=\"x86_64\" werror=true" |
| 93 |
], |
| 94 |
"env": { |
| 95 |
"CHROME_HEADLESS": "1", |
| 96 |
"DOCKER_CONFIG": "/home/chrome-bot/.docker", |
| 97 |
"PATH": "<PATH>:RECIPE_REPO[depot_tools]" |
| 98 |
}, |
| 99 |
"name": "Run build script in Docker" |
| 100 |
}, |
| 101 |
{ |
| 102 |
"cmd": [ |
| 103 |
"python3", |
| 104 |
"RECIPE_MODULE[skia::build]/resources/copy_build_products.py", |
| 105 |
"[START_DIR]/cache/work/skia/out/Build-Debian11-GCC-x86_64-Release-Shared_Docker/Release", |
| 106 |
"[START_DIR]/[SWARM_OUT_DIR]/out/Release", |
| 107 |
"dm,dm.exe,dm.app,nanobench.app,get_images_from_skps,get_images_from_skps.exe,nanobench,nanobench.exe,*.so,*.dll,*.dylib,skottie_tool,lib/*.so,run_testlab" |
| 108 |
], |
| 109 |
"infra_step": true, |
| 110 |
"name": "copy build products" |
| 111 |
}, |
| 112 |
{ |
| 113 |
"name": "$result" |
| 114 |
} |
| 115 |
] |