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

Set up CI build for building gh against different platforms #139

Open
owenthereal opened this issue Dec 28, 2013 · 2 comments
Open

Set up CI build for building gh against different platforms #139

owenthereal opened this issue Dec 28, 2013 · 2 comments

Comments

@owenthereal
Copy link
Owner

Building gh requires cgo. It's due to a limitation of cross compilation on accessing system root certificates.

The current approach is to use a cross compilation tool to build for the current platforms for i386 and amd64, but it's built on a native platform through virtual box. I'm using this gotask to make a build.

It'd be nice to have ec2 do the job. Also travis-ci seems to support OSX VMs but I never try it.

Relative discussion: #138 (comment)

@calavera
Copy link
Contributor

Unfortunately I don't think Travis lets build have a build matrix with different distros/OS. I cannot find anything in their help, it looks like they discriminate by language, and I say Konstantin commenting this on twitter:

https://twitter.com/konstantinhaase/status/414861045212381184

@owenthereal
Copy link
Owner Author

I just read that. Ya...it's hard to find a service that has different distros/OS to build Go stuff. I think people set up plain EC2 servers themselves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants