mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-02 15:36:41 -05:00
mips release with golang 1.8
This commit is contained in:
parent
9ad9af367c
commit
7d2e2baaf9
@ -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
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user