Configured the Travis.cl configuration to cross-compile Windows and Linux for both 386 and amd64.
This commit is contained in:
parent
bd87c9d6cb
commit
6d5d70747c
15
.travis.yml
15
.travis.yml
|
@ -3,6 +3,19 @@ language: go
|
|||
go:
|
||||
- tip
|
||||
|
||||
env:
|
||||
- GOOS=linux GOARCH=386
|
||||
- GOOS=linux GOARCH=amd64
|
||||
- GOOS=windows GOARCH=386
|
||||
- GOOS=windows GOARCH=amd64
|
||||
|
||||
before_install:
|
||||
- go tool dist install cmd/8a
|
||||
- go tool dist install cmd/8c
|
||||
- go tool dist install cmd/8g
|
||||
- go tool dist install cmd/8l
|
||||
- GOOS=linux GOARCH=386 CGO_ENABLED=1 CFLAGS=-m32 LDFLAGS=-m32 { go tool dist install pkg/runtime && go install std; }
|
||||
- GOOS=windows GOARCH=386 { go tool dist install pkg/runtime && go install std; }
|
||||
- GOOS=windows GOARCH=amd64 { go tool dist install pkg/runtime && go install std; }
|
||||
- sudo apt-get update -qq
|
||||
- sudo apt-get install -qq libgtk-3-dev
|
||||
- sudo apt-get install -qq libgtk-3-dev libgtk-3-0:i386
|
||||
|
|
Loading…
Reference in New Issue