Skip to content

Commit 2e05377

Browse files
committed
dashboard: add new linux-amd64-wsl builder
Updates golang/go#17365 Change-Id: I90b9c1c8f82ae9164deacea36ff5dafd008eef03 Reviewed-on: https://go-review.googlesource.com/c/build/+/272266 Trust: Meng Zhuo <mzh@golangcn.org> Run-TryBot: Meng Zhuo <mzh@golangcn.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Carlos Amedee <carlos@golang.org>
1 parent 302a384 commit 2e05377

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

dashboard/builders.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -646,6 +646,13 @@ var Hosts = map[string]*HostConfig{
646646
env: []string{"GOROOT_BOOTSTRAP=/go1.4"},
647647
SSHUsername: "root",
648648
},
649+
"host-linux-amd64-wsl": &HostConfig{
650+
Notes: "Windows 10 WSL2 Ubuntu",
651+
OwnerGithub: "mengzhuo",
652+
IsReverse: true,
653+
ExpectNum: 1,
654+
env: []string{"GOROOT_BOOTSTRAP=/usr/lib/go"},
655+
},
649656
}
650657

651658
// CrossCompileConfig describes how to cross-compile a build on a
@@ -2601,6 +2608,13 @@ func init() {
26012608
return atLeastGo1(branch, 12) && atLeastGo1(goBranch, 12) && buildRepoByDefault(repo)
26022609
},
26032610
})
2611+
addBuilder(BuildConfig{
2612+
Name: "linux-amd64-wsl",
2613+
HostType: "host-linux-amd64-wsl",
2614+
Notes: "Windows 10 WSL2 Ubuntu",
2615+
FlakyNet: true,
2616+
SkipSnapshot: true, // The builder has a slow uplink bandwidth.
2617+
})
26042618
}
26052619

26062620
// addBuilder adds c to the Builders map after doing some sanity

0 commit comments

Comments
 (0)