diff --git a/dashboard/builders.go b/dashboard/builders.go index 89c42214..f1d32239 100644 --- a/dashboard/builders.go +++ b/dashboard/builders.go @@ -2833,8 +2833,10 @@ func init() { }, buildsRepo: func(repo, branch, goBranch string) bool { switch repo { - case "go", "net", "sys": - return branch == "master" && goBranch == "master" + case "go": + return atLeastGo1(goBranch, 19) + case "net", "sys": + return branch == "master" && atLeastGo1(goBranch, 19) default: return false } diff --git a/dashboard/builders_test.go b/dashboard/builders_test.go index baff4184..8e3f69f2 100644 --- a/dashboard/builders_test.go +++ b/dashboard/builders_test.go @@ -406,7 +406,11 @@ func TestBuilderConfig(t *testing.T) { {b("linux-amd64", "net"), both}, {b("linux-loong64-3a5000", "go"), onlyPost}, + {b("linux-loong64-3a5000@go1.99", "go"), onlyPost}, + {b("linux-loong64-3a5000@go1.18", "go"), none}, // Go 1.18 doesn't support this port. {b("linux-loong64-3a5000", "sys"), onlyPost}, + {b("linux-loong64-3a5000@go1.99", "sys"), onlyPost}, + {b("linux-loong64-3a5000@go1.18", "sys"), none}, {b("linux-loong64-3a5000", "net"), onlyPost}, // OpenBSD 6.8.