aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-03-01 16:47:55 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-03-02 17:43:06 +0800
commitf972691eea59a631ac78a9cfc1170cfce615cc66 (patch)
tree9a062757d8aca95ea4d31a7b00defd6b608d90d0 /.travis.yml
parent230cf2ec9142b6a8f421cb8873deb5df1566e89c (diff)
downloaddexon-f972691eea59a631ac78a9cfc1170cfce615cc66.tar
dexon-f972691eea59a631ac78a9cfc1170cfce615cc66.tar.gz
dexon-f972691eea59a631ac78a9cfc1170cfce615cc66.tar.bz2
dexon-f972691eea59a631ac78a9cfc1170cfce615cc66.tar.lz
dexon-f972691eea59a631ac78a9cfc1170cfce615cc66.tar.xz
dexon-f972691eea59a631ac78a9cfc1170cfce615cc66.tar.zst
dexon-f972691eea59a631ac78a9cfc1170cfce615cc66.zip
travis: support building mips32 and mips64 too
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 8ea8704ff..7f7168854 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -66,6 +66,32 @@ matrix:
# - CC=aarch64-linux-gnu-gcc go run build/ci.go install -arch arm64
# - go run build/ci.go archive -arch arm64 -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
+ # This builder does the Linux Azure MIPS xgo uploads
+ - os: linux
+ dist: trusty
+ sudo: required
+ services:
+ - docker
+ go: 1.8
+ env:
+ - azure-linux-mips
+ script:
+ - go run build/ci.go xgo --alltools -- --targets=linux/mips --ldflags '-extldflags "-static"' -v
+ - for bin in build/bin/*-linux-mips; do mv -f "${bin}" "${bin/-linux-mips/}"; done
+ - go run build/ci.go archive -arch mips -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
+
+ - go run build/ci.go xgo --alltools -- --targets=linux/mipsle --ldflags '-extldflags "-static"' -v
+ - for bin in build/bin/*-linux-mipsle; do mv -f "${bin}" "${bin/-linux-mipsle/}"; done
+ - go run build/ci.go archive -arch mipsle -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
+
+ - go run build/ci.go xgo --alltools -- --targets=linux/mips64 --ldflags '-extldflags "-static"' -v
+ - for bin in build/bin/*-linux-mips64; do mv -f "${bin}" "${bin/-linux-mips64/}"; done
+ - go run build/ci.go archive -arch mips64 -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
+
+ - go run build/ci.go xgo --alltools -- --targets=linux/mips64le --ldflags '-extldflags "-static"' -v
+ - for bin in build/bin/*-linux-mips64le; do mv -f "${bin}" "${bin/-linux-mips64le/}"; done
+ - go run build/ci.go archive -arch mips64le -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
+
# This builder is a temporary fallback for building ARM64 while Go 1.8 is fixed
- os: linux
dist: trusty