-
Notifications
You must be signed in to change notification settings - Fork 51
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
CI: workaround for incompatible compiler release binary #222
Conversation
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
With go1.11 `go test` in GOPATH mode somehow seems to depend on GCC. See golang/go#28065 This change only enables cgo for CI profiles that need it. Those are the ones that seem to fail on TravisCI now, presumably due to some compiler version missmatch. That is a workaround and does not happen in GO11MODULE mode. Signed-off-by: Alexander Bezzubov <bzz@apache.org>
See https://docs.travis-ci.com/user/reference/trusty/#container-based-infrastructure and https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration#timeline---its-happening-fast Signed-off-by: Alexander Bezzubov <bzz@apache.org>
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
@creachadair all feedback addressed, ready for another round! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose there might have been an earlier export
of that variable in the same dynamic extent. Once it's exported, it stays that way even if reassigned. But I think it's good documentation to be explicit, and protects us from non-strict dependency breakages. Thanks!
Instead of full distro update to get newer compiler #221 - fix last known good go release versions on CI.
This will un-block the next, before-modules release.
.x
go version will be restored as soon as both new 1.11 and 1.12 are released #221 (comment)