Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/build: trybots should always compile for all platforms on subrepos #21163

bradfitz opened this issue Jul 25, 2017 · 1 comment


Copy link

commented Jul 25, 2017 broke the build for freebsd-386 which was reported in #21136

@ncw said:

According to the trybots ran OK so I'm a bit puzzled about this.

We don't run all platforms for trybots since trybots are somewhat expensive, so we choose where to spend our resources. (We run freebsd-amd64 and linux-386 but not freebsd-386, for instance)

But we should at least run misc-compile (or equivalent) on trybots to make sure things compile everywhere.

/cc @adams-sarah @cybrcodr @andybons


This comment has been minimized.

Copy link
Member Author

commented Aug 9, 2017

I looked into enabling this but it's not incredibly straightforward.

We can't just flip a bit on misc-compile-* builders because misc-compile uses the buildall.bash build script.

Looks like we'd need to write some code in the coordinator for it.

In addition to just running the equivalent of GOOS=os GOARCH=arch go install, we'd probably also want to enumerate all the packages with tests and, for each, run GOOS=os GOARCH=arch go test -c (@josharian, where's that bug about not being able to use go test -c with multiple packages? That'd be nice here if we had it. Oh well.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.