go - build Golang release binaries for Github -


i'm looking ideas on how build binaries common platforms golang project, release on github.

i know how manually releases, using github's instructions @ creating releases. , i'm doing releases using aktau/github-release, requires manually logging different machines (osx, linux, windows) , doing release.

benedikt lang has blogged using travis-ci (which i'm yet experiment with). presume public travis build binaries linux.

any suggestions?

you right travis ci building in linux go cross-compilation requires build source , build other go executables. ronindev suggested, suggest setup own cross-compilation build environment following blog post:

http://dave.cheney.net/2012/09/08/an-introduction-to-cross-compilation-with-go

it quite easy, , takes 10 minutes. after have that, build tool such jenkins give controls kick off build desired platforms (mac, windows, linux, etc) , push out git releases each one.


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -