1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-20 14:35:23 +00:00

mips release with golang 1.8

This commit is contained in:
Darien Raymond 2017-02-17 10:22:38 +01:00
parent 9ad9af367c
commit 7d2e2baaf9
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
3 changed files with 12 additions and 1 deletions

View File

@ -1,7 +1,7 @@
sudo: required
language: go
go:
- 1.7.5
- 1.8
go_import_path: v2ray.com/core
git:
depth: 5
@ -28,6 +28,9 @@ deploy:
- $GOPATH/bin/v2ray-linux-arm.zip
- $GOPATH/bin/v2ray-linux-arm64.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-32.zip
- $GOPATH/bin/v2ray-openbsd-64.zip

View File

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

View File

@ -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=arm64 --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=amd64 --zip
$GOPATH/bin/build --os=openbsd --arch=x86 --zip