OK lets try doing cross-platform builds with Travis.ci again; also added multiarch-support again for testing
This commit is contained in:
parent
d1a41cd95a
commit
645bc6bdcb
12
.travis.yml
12
.travis.yml
|
@ -6,15 +6,9 @@ go:
|
|||
# TODO
|
||||
# linux/386 build tries to do apt's legendary remove all 64-bit libraries and install 32-bit ones instead (else it can't find sys/types.h) so that build is disabled for now
|
||||
|
||||
env:
|
||||
# - GOOS=linux GOARCH=386 CGO_ENABLED=1 CFLAGS=-m32 LDFLAGS=-m32
|
||||
- GOOS=linux GOARCH=amd64
|
||||
- GOOS=windows GOARCH=386
|
||||
- GOOS=windows GOARCH=amd64
|
||||
|
||||
before_install:
|
||||
- sudo apt-get update -qq
|
||||
- sudo apt-get install -qq libgtk-3-dev # libgtk-3-0:i386 gcc-multilib
|
||||
- sudo apt-get install -qq libgtk-3-dev multiarch-support # libgtk-3-0:i386 gcc-multilib
|
||||
- go tool dist install cmd/8a
|
||||
- go tool dist install cmd/8c
|
||||
- go tool dist install cmd/8g
|
||||
|
@ -27,4 +21,6 @@ before_install:
|
|||
- GOOS=windows GOARCH=amd64 go install std
|
||||
|
||||
install:
|
||||
- go install -v -x ./...
|
||||
- GOOS=linux GOARCH=amd64 ./test.sh -v -x
|
||||
- GOOS=windows GOARCH=386 ./test.sh -v -x
|
||||
- GOOS=windows GOARCH=amd64 ./test.sh -v -x
|
||||
|
|
Loading…
Reference in New Issue