Skip to content

Commit 427d8d2

Browse files
committed
chore: update build platforms
1 parent 7d64121 commit 427d8d2

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

build/build-all-docker.sh

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,27 @@ buildByDocker() {
2828

2929
gover=latest
3030
builds=('linux 386' 'linux amd64' 'linux arm' 'linux arm64' 'windows 386' 'windows amd64' 'windows arm' 'darwin 386' 'darwin amd64')
31-
builds=("${builds[@]}" 'freebsd 386' 'freebsd amd64' 'freebsd arm')
31+
builds=("${builds[@]}" 'freebsd 386' 'freebsd amd64' 'freebsd arm' 'freebsd arm64')
3232
builds=("${builds[@]}" 'openbsd 386' 'openbsd amd64' 'openbsd arm' 'openbsd arm64')
3333
builds=("${builds[@]}" 'netbsd 386' 'netbsd amd64' 'netbsd arm' 'netbsd arm64')
3434
builds=("${builds[@]}" 'plan9 386' 'plan9 amd64' 'plan9 arm')
3535
buildByDocker "$gover" "${builds[@]}"
3636

37+
#gover=1.9
38+
#builds=('freebsd 386 -9.x' 'freebsd amd64 -9.x' 'freebsd arm -9.x')
39+
#buildByDocker "$gover" "${builds[@]}"
40+
3741
gover=1.10
3842
builds=('windows 386 -xp-vista' 'windows amd64 -xp-vista')
43+
#builds=("${builds[@]}" 'darwin 386 -10.8-mountain_lion' 'darwin amd64 -10.8-mountain_lion')
44+
#builds=("${builds[@]}" 'openbsd 386 -6.0' 'openbsd amd64 -6.0' 'openbsd arm -6.0')
3945
buildByDocker "$gover" "${builds[@]}"
46+
47+
#gover=1.12
48+
#builds=('darwin 386 -10.10-yosemite' 'darwin amd64 -10.10-yosemite')
49+
#builds=("${builds[@]}" 'freebsd 386 -10.x' 'freebsd amd64 -10.x' 'freebsd arm -9.x')
50+
#buildByDocker "$gover" "${builds[@]}"
51+
52+
#gover=1.14
53+
#builds=('darwin 386 -10.11-el_capitan' 'darwin amd64 -10.11-el_capitan')
54+
#buildByDocker "$gover" "${builds[@]}"

build/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ for build in "$@"; do
2222
BIN="${BIN}.exe"
2323
fi;
2424
rm -f "$BIN"
25-
echo "Building: $GOOS $GOARCH"
25+
echo "Building: $GOOS$OS_SUFFIX $GOARCH"
2626
go build -ldflags "$LDFLAGS" -o "$BIN" ../src/main.go
2727

2828
OUT="$OUTDIR"/"$MAINNAME"-"$VERSION"-"$GOOS""$OS_SUFFIX"-"$GOARCH".zip

0 commit comments

Comments
 (0)