add arm32 builds

This commit is contained in:
blek 2023-11-03 03:32:55 +10:00
parent 79e2b5c986
commit f893b5ac4b
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 3 additions and 1 deletions

4
ci.sh
View File

@ -7,12 +7,14 @@ rm $(find . -type f | grep -E ^\./bfile_cli.\*)
GOOS=linux GOARCH=386 go build -o "bfile_cli.linux.i386" -ldflags "-s -w -X main.version=$VERSION" . & GOOS=linux GOARCH=386 go build -o "bfile_cli.linux.i386" -ldflags "-s -w -X main.version=$VERSION" . &
GOOS=linux GOARCH=amd64 go build -o "bfile_cli.linux.amd64" -ldflags "-s -w -X main.version=$VERSION" . & GOOS=linux GOARCH=amd64 go build -o "bfile_cli.linux.amd64" -ldflags "-s -w -X main.version=$VERSION" . &
GOOS=linux GOARCH=arm64 go build -o "bfile_cli.linux.arm64" -ldflags "-s -w -X main.version=$VERSION" . & GOOS=linux GOARCH=arm64 go build -o "bfile_cli.linux.arm64" -ldflags "-s -w -X main.version=$VERSION" . &
GOOS=linux GOARCH=arm go build -o "bfile_cli.linux.arm64" -ldflags "-s -w -X main.version=$VERSION" . &
GOOS=windows GOARCH=386 go build -o "bfile_cli.windows.i386.exe" -ldflags "-s -w -X main.version=$VERSION" . & GOOS=windows GOARCH=386 go build -o "bfile_cli.windows.i386.exe" -ldflags "-s -w -X main.version=$VERSION" . &
GOOS=windows GOARCH=amd64 go build -o "bfile_cli.windows.amd64.exe" -ldflags "-s -w -X main.version=$VERSION" . & GOOS=windows GOARCH=amd64 go build -o "bfile_cli.windows.amd64.exe" -ldflags "-s -w -X main.version=$VERSION" . &
GOOS=windows GOARCH=arm64 go build -o "bfile_cli.windows.arm64.exe" -ldflags "-s -w -X main.version=$VERSION" . & GOOS=windows GOARCH=arm64 go build -o "bfile_cli.windows.arm64.exe" -ldflags "-s -w -X main.version=$VERSION" . &
GOOS=windows GOARCH=arm go build -o "bfile_cli.windows.arm64" -ldflags "-s -w -X main.version=$VERSION" . &
GOOS=darwin GOARCH=amd64 go build -o "bfile_cli.darwin.amd64" -ldflags "-s -w -X main.version=$VERSION" . & GOOS=darwin GOARCH=amd64 go build -o "bfile_cli.darwin.amd64" -ldflags "-s -w -X main.version=$VERSION" . &
GOOS=darwin GOARCH=arm64 go build -o "bfile_cli.darwin.arm64" -ldflags "-s -w -X main.version=$VERSION" . & GOOS=darwin GOARCH=arm64 go build -o "bfile_cli.darwin.arm64" -ldflags "-s -w -X main.version=$VERSION" . &
wait wait