dashboard: add linux-amd64-unified builder

This adds a trybot+builder for testing cmd/compile's unified IR
construction experiment on the dev.typeparams branch.

Fixes golang/go#46786.

Change-Id: Ibf3d5ab7a727c52cf13486798e02077faa08e2b5
Reviewed-on: https://go-review.googlesource.com/c/build/+/328891
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
This commit is contained in:
Matthew Dempsky 2021-06-16 23:08:22 -07:00
Родитель 666c18fd07
Коммит df58bbac08
2 изменённых файлов: 29 добавлений и 1 удалений

Просмотреть файл

@ -1744,6 +1744,26 @@ func init() {
"02057906f7272a4787b8a0b5b7cafff8ad3024f0", // A master commit from 2020/03/19, just before CL 222925 and CL 207619 have landed.
},
})
addBuilder(BuildConfig{
Name: "linux-amd64-unified",
HostType: "host-linux-buster",
Notes: "builder with GOEXPERIMENT=unified, see golang.org/issue/46786",
tryBot: func(repo, branch, goBranch string) bool {
return (repo == "go" || repo == "tools") && goBranch == "dev.typeparams"
},
buildsRepo: func(repo, branch, goBranch string) bool {
return (repo == "go" || repo == "tools") && goBranch == "dev.typeparams"
},
env: []string{
"GO_DISABLE_OUTBOUND_NETWORK=1",
"GOEXPERIMENT=unified",
},
GoDeps: []string{
"804ecc2581caf33ae347d6a1ce67436d1f74e93b", // CL 328215, which added GOEXPERIMENT=unified on dev.typeparams
},
numTestHelpers: 1,
numTryTestHelpers: 4,
})
addBuilder(BuildConfig{
Name: "linux-amd64-noregabi",
HostType: "host-linux-buster",

Просмотреть файл

@ -120,7 +120,7 @@ func TestTrybots(t *testing.T) {
},
{
repo: "go",
branch: "dev.link",
branch: "dev.typeparams",
want: []string{
"android-amd64-emu",
"freebsd-amd64-12_2",
@ -128,6 +128,7 @@ func TestTrybots(t *testing.T) {
"linux-386",
"linux-amd64",
"linux-amd64-race",
"linux-amd64-unified",
"linux-arm-aws",
"linux-arm64-aws",
"openbsd-amd64-68",
@ -617,6 +618,13 @@ func TestBuilderConfig(t *testing.T) {
{b("linux-amd64-staticlockranking@go1.14", "go"), none},
{b("linux-amd64-staticlockranking", "net"), none},
{b("linux-amd64-unified", "go"), none},
{b("linux-amd64-unified", "tools"), none},
{b("linux-amd64-unified", "net"), none},
{b("linux-amd64-unified@dev.typeparams", "go"), both},
{b("linux-amd64-unified@dev.typeparams", "tools"), both},
{b("linux-amd64-unified@dev.typeparams", "net"), none},
{b("linux-amd64-noregabi", "go"), onlyPost},
{b("linux-amd64-noregabi", "net"), none},
}