| { | |
| "configs": [ | |
| { | |
| "name": "bazel_default", | |
| "description": "Default bazel build configuration (usually host)", | |
| "build_type": "bazel", | |
| "args": [], | |
| "env": {} | |
| } | |
| ], | |
| "builds": [ | |
| { | |
| "name": "host", | |
| "use_config": "bazel_default", | |
| "targets": [ | |
| "//..." | |
| ] | |
| }, | |
| { | |
| "name": "rp2040", | |
| "build_config": { | |
| "name": "rp2040_config", | |
| "description": "RP2040 build", | |
| "build_type": "bazel", | |
| "args": [ | |
| "--config=rp2040" | |
| ], | |
| "driver_options": { | |
| "@type": "pw.build.proto.BazelDriverOptions", | |
| "no_test": true | |
| } | |
| }, | |
| "targets": [ | |
| "//..." | |
| ] | |
| }, | |
| { | |
| "name": "asan", | |
| "build_config": { | |
| "name": "asan_config", | |
| "description": "ASAN config", | |
| "build_type": "bazel", | |
| "args": [ | |
| "--config=asan" | |
| ], | |
| "env": {} | |
| }, | |
| "targets": [ | |
| "//..." | |
| ] | |
| }, | |
| { | |
| "name": "tsan", | |
| "build_config": { | |
| "name": "tsan_config", | |
| "description": "TSAN config", | |
| "build_type": "bazel", | |
| "args": [ | |
| "--config=tsan", | |
| "--runs_per_test=10" | |
| ], | |
| "env": {} | |
| }, | |
| "targets": [ | |
| "//..." | |
| ] | |
| }, | |
| { | |
| "name": "ubsan", | |
| "build_config": { | |
| "name": "ubsan_config", | |
| "description": "UBSAN config", | |
| "build_type": "bazel", | |
| "args": [ | |
| "--config=ubsan" | |
| ], | |
| "env": {} | |
| }, | |
| "targets": [ | |
| "//..." | |
| ] | |
| } | |
| ], | |
| "groups": [ | |
| { | |
| "name": "default", | |
| "description": "Quick presubmit for validating code changes locally", | |
| "builds": [ | |
| "host", | |
| "rp2040", | |
| "asan", | |
| "tsan", | |
| "ubsan" | |
| ] | |
| } | |
| ] | |
| } |