Invoke some of the Dawn CQ from Tint's
Run some of the debug bots from the Dawn CQ on the Tint one.
This will give us coverage of the unittests on all platforms and the
end2end tests on linux SwiftShader.
BUG=tint:734
Change-Id: Ib1373c9041d97eec09c605bbd94b6ec023f9938a
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/53860
Auto-Submit: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
diff --git a/infra/config/global/generated/commit-queue.cfg b/infra/config/global/generated/commit-queue.cfg
index 6158aa5..2a7faf5 100644
--- a/infra/config/global/generated/commit-queue.cfg
+++ b/infra/config/global/generated/commit-queue.cfg
@@ -27,6 +27,18 @@
}
tryjob {
builders {
+ name: "dawn/try/linux-clang-dbg-x64"
+ }
+ builders {
+ name: "dawn/try/mac-dbg"
+ }
+ builders {
+ name: "dawn/try/win-clang-dbg-x64"
+ }
+ builders {
+ name: "dawn/try/win-msvc-dbg-x64"
+ }
+ builders {
name: "tint/try/linux-clang-dbg-x64"
}
builders {
diff --git a/infra/config/global/main.star b/infra/config/global/main.star
index 2fb6170..036cc69 100644
--- a/infra/config/global/main.star
+++ b/infra/config/global/main.star
@@ -300,6 +300,30 @@
builder = "tint:try/" + name,
)
+def add_dawn_tryjob(name):
+ """ Add a specfic Dawn tryjob to the CQ
+
+ Args:
+ name: string of the name of the tryjob
+ """
+ luci.cq_tryjob_verifier(
+ cq_group = "Tint-CQ",
+ builder = "dawn:try/" + name,
+ )
+
+def dawn_tryjob(os):
+ """Adds a tryjob that tests against Dawn's CQ
+
+ Args:
+ os: string for the OS, should be one or linux|mac|win
+ """
+ if os == "linux" or os == "win":
+ add_dawn_tryjob(os + "-clang-dbg-x64")
+ if os == "win":
+ add_dawn_tryjob("win-msvc-dbg-x64")
+ if os == "mac":
+ add_dawn_tryjob("mac-dbg")
+
luci.gitiles_poller(
name = "primary-poller",
bucket = "ci",
@@ -351,6 +375,10 @@
tint_standalone_builder("win-msvc-dbg-x64", False, True, "x64")
tint_standalone_builder("win-msvc-rel-x64", False, False, "x64")
+dawn_tryjob("linux")
+dawn_tryjob("win")
+dawn_tryjob("mac")
+
# Views
luci.console_view(