Add fully static linux build to automated builder
Ref
@@ -25,16 +25,25 @@ GOOS=linux GOARCH=amd64 make build
mv micro micro-$1
tar -czf micro-$1-linux64.tar.gz micro-$1
mv micro-$1-linux64.tar.gz binaries
+
+echo "Linux 64 fully static"
+CGO_ENABLED=0 GOOS=linux GOARCH=amd64 make build
+mv micro micro-$1
+tar -czf micro-$1-linux64-static.tar.gz micro-$1
+mv micro-$1-linux64-static.tar.gz binaries
+
echo "Linux 32"
GOOS=linux GOARCH=386 make build
mv micro micro-$1
tar -czf micro-$1-linux32.tar.gz micro-$1
mv micro-$1-linux32.tar.gz binaries
+
echo "Linux ARM 32"
GOOS=linux GOARCH=arm make build
mv micro micro-$1
tar -czf micro-$1-linux-arm.tar.gz micro-$1
mv micro-$1-linux-arm.tar.gz binaries
+
echo "Linux ARM 64"
GOOS=linux GOARCH=arm64 make build
mv micro micro-$1
@@ -47,6 +56,7 @@ GOOS=netbsd GOARCH=amd64 make build
mv micro micro-$1
tar -czf micro-$1-netbsd64.tar.gz micro-$1
mv micro-$1-netbsd64.tar.gz binaries
+
echo "NetBSD 32"
GOOS=netbsd GOARCH=386 make build
mv micro micro-$1
@@ -59,6 +69,7 @@ GOOS=openbsd GOARCH=amd64 make build
mv micro micro-$1
tar -czf micro-$1-openbsd64.tar.gz micro-$1
mv micro-$1-openbsd64.tar.gz binaries
+
echo "OpenBSD 32"
GOOS=openbsd GOARCH=386 make build
mv micro micro-$1
@@ -71,6 +82,7 @@ GOOS=freebsd GOARCH=amd64 make build
mv micro micro-$1
tar -czf micro-$1-freebsd64.tar.gz micro-$1
mv micro-$1-freebsd64.tar.gz binaries
+
echo "FreeBSD 32"
GOOS=freebsd GOARCH=386 make build
mv micro micro-$1
@@ -85,6 +97,7 @@ GOOS=windows GOARCH=amd64 make build
mv micro.exe micro-$1
zip -r -q -T micro-$1-win64.zip micro-$1
mv micro-$1-win64.zip binaries
+
echo "Windows 32"
GOOS=windows GOARCH=386 make build
mv micro.exe micro-$1
