From cd49e0e074089ecc3b92230fdf861b671680172d Mon Sep 17 00:00:00 2001 From: Ryan Harrison Date: Mon, 14 Jun 2021 15:05:48 +0000 Subject: [PATCH] Invoke Dawn bots on Tint CQ This only invokes the Dawn CQ bots that don't require GPU enables machines, so will only give coverage for builds, unittests, and end2end tests running on SwiftShader. BUG=tint:734 Change-Id: I5642a51910eb43edd9db9061609081ddf07778a5 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/54560 Auto-Submit: Ryan Harrison Reviewed-by: Corentin Wallez Reviewed-by: Ben Clayton Kokoro: Kokoro Commit-Queue: Ryan Harrison --- infra/config/global/generated/commit-queue.cfg | 12 ++++++++++++ infra/config/global/main.star | 16 ++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/infra/config/global/generated/commit-queue.cfg b/infra/config/global/generated/commit-queue.cfg index 6158aa5e7f..23171f79fe 100644 --- a/infra/config/global/generated/commit-queue.cfg +++ b/infra/config/global/generated/commit-queue.cfg @@ -26,6 +26,18 @@ config_groups { dry_run_access_list: "project-tint-tryjobs-access" } tryjob { + builders { + name: "dawn/try/linux-tint-rel" + } + builders { + name: "dawn/try/mac-tint-rel" + } + builders { + name: "dawn/try/msvc-tint-rel" + } + builders { + name: "dawn/try/win-tint-rel" + } builders { name: "tint/try/linux-clang-dbg-x64" } diff --git a/infra/config/global/main.star b/infra/config/global/main.star index 2fb6170f25..4ff5ba8f04 100644 --- a/infra/config/global/main.star +++ b/infra/config/global/main.star @@ -300,6 +300,17 @@ def tint_standalone_builder(name, clang, debug, cpu): builder = "tint:try/" + name, ) +def dawn_tryjob(name): + """Adds a tryjob that tests against Dawn's CQ + + Args: + name: string of the name of the tryjob + """ + luci.cq_tryjob_verifier( + cq_group = "Tint-CQ", + builder = "dawn:try/" + name, + ) + luci.gitiles_poller( name = "primary-poller", bucket = "ci", @@ -351,6 +362,11 @@ tint_standalone_builder("win-clang-rel-x86", True, False, "x86") tint_standalone_builder("win-msvc-dbg-x64", False, True, "x64") tint_standalone_builder("win-msvc-rel-x64", False, False, "x64") +dawn_tryjob("linux-tint-rel") +dawn_tryjob("mac-tint-rel") +dawn_tryjob("win-tint-rel") +dawn_tryjob("msvc-tint-rel") + # Views luci.console_view(