mips release with golang 1.8

pull/432/head
Darien Raymond 8 years ago
parent 9ad9af367c
commit 7d2e2baaf9
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

@ -1,7 +1,7 @@
sudo: required sudo: required
language: go language: go
go: go:
- 1.7.5 - 1.8
go_import_path: v2ray.com/core go_import_path: v2ray.com/core
git: git:
depth: 5 depth: 5
@ -28,6 +28,9 @@ deploy:
- $GOPATH/bin/v2ray-linux-arm.zip - $GOPATH/bin/v2ray-linux-arm.zip
- $GOPATH/bin/v2ray-linux-arm64.zip - $GOPATH/bin/v2ray-linux-arm64.zip
- $GOPATH/bin/v2ray-linux-mips64.zip - $GOPATH/bin/v2ray-linux-mips64.zip
- $GOPATH/bin/v2ray-linux-mips64le.zip
- $GOPATH/bin/v2ray-linux-mips.zip
- $GOPATH/bin/v2ray-linux-mipsle.zip
- $GOPATH/bin/v2ray-freebsd-64.zip - $GOPATH/bin/v2ray-freebsd-64.zip
- $GOPATH/bin/v2ray-freebsd-32.zip - $GOPATH/bin/v2ray-freebsd-32.zip
- $GOPATH/bin/v2ray-openbsd-64.zip - $GOPATH/bin/v2ray-openbsd-64.zip

@ -23,6 +23,7 @@ const (
Arm = GoArch("arm") Arm = GoArch("arm")
Arm64 = GoArch("arm64") Arm64 = GoArch("arm64")
Mips64 = GoArch("mips64") Mips64 = GoArch("mips64")
Mips64LE = GoArch("mips64le")
Mips = GoArch("mips") Mips = GoArch("mips")
MipsLE = GoArch("mipsle") MipsLE = GoArch("mipsle")
UnknownArch = GoArch("unknown") UnknownArch = GoArch("unknown")
@ -63,6 +64,8 @@ func parseArch(rawArch string) GoArch {
return MipsLE return MipsLE
case "mips64": case "mips64":
return Mips64 return Mips64
case "mips64le":
return Mips64LE
default: default:
return UnknownArch return UnknownArch
} }
@ -92,6 +95,8 @@ func getSuffix(os GoOS, arch GoArch) string {
suffix = "-linux-arm64" suffix = "-linux-arm64"
case Mips64: case Mips64:
suffix = "-linux-mips64" suffix = "-linux-mips64"
case Mips64LE:
suffix = "-linux-mips64le"
case Mips: case Mips:
suffix = "-linux-mips" suffix = "-linux-mips"
case MipsLE: case MipsLE:

@ -10,6 +10,9 @@ $GOPATH/bin/build --os=linux --arch=x64 --zip
$GOPATH/bin/build --os=linux --arch=arm --zip $GOPATH/bin/build --os=linux --arch=arm --zip
$GOPATH/bin/build --os=linux --arch=arm64 --zip $GOPATH/bin/build --os=linux --arch=arm64 --zip
$GOPATH/bin/build --os=linux --arch=mips64 --zip $GOPATH/bin/build --os=linux --arch=mips64 --zip
$GOPATH/bin/build --os=linux --arch=mips64le --zip
$GOPATH/bin/build --os=linux --arch=mips --zip
$GOPATH/bin/build --os=linux --arch=mipsle --zip
$GOPATH/bin/build --os=freebsd --arch=x86 --zip $GOPATH/bin/build --os=freebsd --arch=x86 --zip
$GOPATH/bin/build --os=freebsd --arch=amd64 --zip $GOPATH/bin/build --os=freebsd --arch=amd64 --zip
$GOPATH/bin/build --os=openbsd --arch=x86 --zip $GOPATH/bin/build --os=openbsd --arch=x86 --zip

Loading…
Cancel
Save