skia2/infra/bots/recipes
Brian Osman 5f87262595 Reland "Always use the Win 10 SDK, and optionally detect/use the latest version"
This is a reland of 6da1d32c16
Original change's description:
> Always use the Win 10 SDK, and optionally detect/use the latest version
> 
> For bot toolchain builds, we were already using the Win 10 SDK. Local
> 2015 builds were using a strange hybrid of Win 10 and Win 8 SDKs. Now
> we always use the Win 10 SDK exclusively.
> 
> This adds two new GN arguments: win_sdk, which points at the top level
> Windows 10 SDK directory, and win_sdk_version, which can be used to
> pin to a specific version. (Otherwise we use a script to detect the
> most recent version).
> 
> Bug: skia:
> Change-Id: I5aabb5eb9e7f483e3676b67b50356ddd0421cf7d
> Reviewed-on: https://skia-review.googlesource.com/81304
> Reviewed-by: Mike Klein <mtklein@chromium.org>
> Commit-Queue: Brian Osman <brianosman@google.com>

Bug: skia:
Change-Id: Ide0d6bd3413c4fe7a8bada7d3d32bdba9709d11b
Reviewed-on: https://skia-review.googlesource.com/81501
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2017-12-06 22:32:59 +00:00
..
bundle_recipes.expected Use chrome-infra Git CIPD package 2017-06-06 12:45:11 +00:00
calmbench.expected pass -k 0 to ninja 2017-11-06 15:01:19 +00:00
check_generated_files.expected pass -k 0 to ninja 2017-11-06 15:01:19 +00:00
compile.expected Reland "Always use the Win 10 SDK, and optionally detect/use the latest version" 2017-12-06 22:32:59 +00:00
ct_skps.expected Update CT bots to Debian-9.2 2017-11-29 18:45:05 +00:00
housekeeper.expected Roll recipe dependencies (nontrivial). 2017-11-01 19:00:50 +00:00
infra.expected Roll recipe dependencies (nontrivial). 2017-11-01 19:00:50 +00:00
perf.expected remove ThermalManager 2017-12-06 21:25:29 +00:00
recreate_skps.expected Roll recipe dependencies (nontrivial). 2017-11-01 19:00:50 +00:00
skpbench.expected Add skpbench jobs for CCPR 2017-10-20 19:34:17 +00:00
test.expected Add to blacklist for intel405 vulkan bot 2017-12-06 18:03:39 +00:00
update_meta_config.expected Roll recipe dependencies (nontrivial). 2017-11-01 19:00:50 +00:00
upload_calmbench_results.expected Add a GPU calmbench bot 2017-11-02 19:04:21 +00:00
upload_coverage_results.expected Shard GCE Coverage bot to decrease latency 2017-10-17 21:10:17 +00:00
upload_dm_results.expected [recipes] Update example builder names. 2017-09-26 20:26:56 +00:00
upload_nano_results.expected Add in test_filter to build configuration 2017-10-16 11:09:49 +00:00
bundle_recipes.py Use chrome-infra Git CIPD package 2017-06-06 12:45:11 +00:00
calmbench.py Add a GPU calmbench bot 2017-11-02 19:04:21 +00:00
check_generated_files.py Add a bot to verify that generated SKSL files have not been hand-edited 2017-07-28 12:20:47 +00:00
compile.py remove mips support and bots 2017-12-05 17:19:45 +00:00
ct_skps.py Switch CT_BENCH_10k_SKPs bot to use QuadroP400 2017-11-08 21:43:37 +00:00
housekeeper.py [skia] convert recipes and module to new context module 2017-05-15 13:46:22 +00:00
infra.py Fixes for internal repo infra tests 2017-06-15 13:10:59 +00:00
perf.py remove ThermalManager 2017-12-06 21:25:29 +00:00
README.md Use new recipes.py test command 2017-04-18 13:57:56 +00:00
recreate_skps.py Make ct_skps and recreate_skps recipes shell to gsutil 2017-09-25 13:53:53 +00:00
skpbench.py Add skpbench jobs for CCPR 2017-10-20 19:34:17 +00:00
test.py Add to blacklist for intel405 vulkan bot 2017-12-06 18:03:39 +00:00
update_meta_config.py [recipes] Switch to file module from recipe_engine 2017-06-16 17:41:28 +00:00
upload_calmbench_results.py Add a GPU calmbench bot 2017-11-02 19:04:21 +00:00
upload_coverage_results.py Shard GCE Coverage bot to decrease latency 2017-10-17 21:10:17 +00:00
upload_dm_results.py Add Linux CPU Coverage Bot 2017-10-09 19:58:34 +00:00
upload_nano_results.py Add in test_filter to build configuration 2017-10-16 11:09:49 +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 run --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.