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>
This commit is contained in:
Ryan Harrison 2021-06-08 19:59:07 +00:00 committed by Tint LUCI CQ
parent 8abe369bc5
commit cebbce0596
2 changed files with 40 additions and 0 deletions

View File

@ -26,6 +26,18 @@ config_groups {
dry_run_access_list: "project-tint-tryjobs-access" dry_run_access_list: "project-tint-tryjobs-access"
} }
tryjob { 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 { builders {
name: "tint/try/linux-clang-dbg-x64" name: "tint/try/linux-clang-dbg-x64"
} }

View File

@ -300,6 +300,30 @@ def tint_standalone_builder(name, clang, debug, cpu):
builder = "tint:try/" + name, 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( luci.gitiles_poller(
name = "primary-poller", name = "primary-poller",
bucket = "ci", bucket = "ci",
@ -351,6 +375,10 @@ 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-dbg-x64", False, True, "x64")
tint_standalone_builder("win-msvc-rel-x64", False, False, "x64") tint_standalone_builder("win-msvc-rel-x64", False, False, "x64")
dawn_tryjob("linux")
dawn_tryjob("win")
dawn_tryjob("mac")
# Views # Views
luci.console_view( luci.console_view(