skia2/infra/bots/recipes
Weston Tracey 3e71209b06 [infra] Add ccache for mac default builds.
Also add pre and post build ccache stats reporting to provide insight for cache size, hit rate, etc.

Bug: skia:9887
Change-Id: I3786fb661ef9f14bdc9fcc7cbcecd1f1a588479f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/269370
Commit-Queue: Weston Tracey <westont@google.com>
Reviewed-by: Eric Boren <borenet@google.com>
2020-02-11 13:18:36 +00:00
..
android_compile.expected [Android compile bots] Add comment to CL when both nopatch and withpatch builds fail 2019-10-28 14:55:01 +00:00
check_generated_files.expected [infra] Add ccache for mac default builds. 2020-02-11 13:18:36 +00:00
compile.expected [infra] Fix build_task_drivers.sh, update infra dep 2020-01-08 14:53:41 +00:00
compute_buildstats.expected Create code size treemaps for executable containing GL/Vulkan 2019-12-20 15:01:16 +00:00
compute_test.expected Roll recipe dependencies (nontrivial). 2019-09-10 11:50:47 +00:00
g3_compile.expected [G3 compile bot] Add comment to CL when there is an interesting failure 2019-11-22 16:08:03 +00:00
housekeeper.expected Reland "[recipes] Assert that Git is obtained from CIPD" 2019-11-04 16:40:29 +00:00
infra.expected [infra] Make infra tests idempotent 2019-07-09 19:04:47 +00:00
perf_canvaskit.expected [canvaskit] Try some things to reduce GPU test flakiness 2019-11-21 20:56:42 +00:00
perf_pathkit.expected [canvaskit] Try some things to reduce GPU test flakiness 2019-11-21 20:56:42 +00:00
perf_skottietrace.expected [infra] Handle failure from addr2line 2020-01-02 13:16:16 +00:00
perf_skottiewasm_lottieweb.expected [recipes] CanvasKit, PathKit, some others don't need bot_update 2019-11-05 18:46:34 +00:00
perf.expected Reland "Fixes for Vulkan Debug layers" 2020-01-07 22:08:23 +00:00
recreate_skps.expected Reland "[recipes] Assert that Git is obtained from CIPD" 2019-11-04 16:40:29 +00:00
skpbench.expected [infra] Handle failure from addr2line 2020-01-02 13:16:16 +00:00
skqp_test.expected Roll recipe dependencies (nontrivial). 2019-09-10 11:50:47 +00:00
sync_and_compile.expected [infra] Add ccache for mac default builds. 2020-02-11 13:18:36 +00:00
test_canvaskit.expected [canvaskit] Try some things to reduce GPU test flakiness 2019-11-21 20:56:42 +00:00
test_lottie_web.expected [recipes] CanvasKit, PathKit, some others don't need bot_update 2019-11-05 18:46:34 +00:00
test_pathkit.expected [canvaskit] Try some things to reduce GPU test flakiness 2019-11-21 20:56:42 +00:00
test_skqp_emulator.expected [recipes] CanvasKit, PathKit, some others don't need bot_update 2019-11-05 18:46:34 +00:00
test.expected build both tsan and msan libc++ 2020-02-07 21:33:03 +00:00
upload_buildstats_results.expected Roll recipe dependencies (nontrivial). 2019-09-10 11:50:47 +00:00
upload_dm_results.expected Remove Debian9 GCC jobs and related code 2019-11-24 23:51:04 +00:00
upload_nano_results.expected Remove Debian9 GCC jobs and related code 2019-11-24 23:51:04 +00:00
android_compile.py [Android compile bots] Add comment to CL when both nopatch and withpatch builds fail 2019-10-28 14:55:01 +00:00
check_generated_files.py rewrite *.gn and #includes on CheckGeneratedFiles bot 2019-07-25 20:48:33 +00:00
compile.py [infra] Fix build_task_drivers.sh, update infra dep 2020-01-08 14:53:41 +00:00
compute_buildstats.py Create code size treemaps for executable containing GL/Vulkan 2019-12-20 15:01:16 +00:00
compute_test.py
g3_compile.py [G3 compile bot] Add comment to CL when there is an interesting failure 2019-11-22 16:08:03 +00:00
housekeeper.py
infra.py [infra] Make infra tests idempotent 2019-07-09 19:04:47 +00:00
perf_canvaskit.py [canvaskit] Try some things to reduce GPU test flakiness 2019-11-21 20:56:42 +00:00
perf_pathkit.py [canvaskit] Try some things to reduce GPU test flakiness 2019-11-21 20:56:42 +00:00
perf_skottietrace.py Reland "[skottie] Remove defensive seek(0) from Animation ctor" 2019-12-03 18:26:40 +00:00
perf_skottiewasm_lottieweb.py [recipes] CanvasKit, PathKit, some others don't need bot_update 2019-11-05 18:46:34 +00:00
perf.py split CPU BonusConfigs SAN bots out explicitly 2020-01-03 17:21:47 +00:00
README.md
recreate_skps.py
skpbench.py Add a kind of asset for MSKPs so the skpbench bot can read them. 2019-08-01 20:29:52 +00:00
skqp_test.py
sync_and_compile.py [infra] Fix build_task_drivers.sh, update infra dep 2020-01-08 14:53:41 +00:00
test_canvaskit.py [canvaskit] Try some things to reduce GPU test flakiness 2019-11-21 20:56:42 +00:00
test_lottie_web.py [recipes] CanvasKit, PathKit, some others don't need bot_update 2019-11-05 18:46:34 +00:00
test_pathkit.py [canvaskit] Try some things to reduce GPU test flakiness 2019-11-21 20:56:42 +00:00
test_skqp_emulator.py [recipes] CanvasKit, PathKit, some others don't need bot_update 2019-11-05 18:46:34 +00:00
test.py run .skps on PDF bots 2020-02-04 17:54:31 +00:00
upload_buildstats_results.py Reland "Use integer patchset and issue variables." 2019-10-08 11:28:17 +00:00
upload_dm_results.py Remove Debian9 GCC jobs and related code 2019-11-24 23:51:04 +00:00
upload_nano_results.py Remove Debian9 GCC jobs and related code 2019-11-24 23:51:04 +00:00

Skia Recipes

These are the top-level scripts which run inside of Swarming tasks to perform all of Skia's automated testing.

To run a recipe locally:

$ python infra/bots/recipes.py run --workdir=/tmp/<workdir> <recipe name without .py> key1=value1 key2=value2 ...

Each recipe may have its own required properties which must be entered as key/value pairs in the command.

When you change a recipe, you generally need to re-train the simulation test:

$ python infra/bots/recipes.py test train

Or:

    $ cd infra/bots; make train

The test generates expectations files for the tests contained within each recipe which illustrate which steps would run, given a particular set of inputs. Pay attention to the diffs in these files when making changes to ensure that your change has the intended effect.