Build for Apple silicon.

This commit is contained in:
Nuno Cruces 2021-05-22 11:55:52 +01:00
parent 598ce272cb
commit 357c0f2c0a

View file

@ -8,6 +8,11 @@ zip -9 zenity_win32.zip zenity.exe
GOOS=windows GOARCH=amd64 go build -ldflags="-s -w" -trimpath && GOOS=windows GOARCH=amd64 go build -ldflags="-s -w" -trimpath &&
zip -9 zenity_win64.zip zenity.exe zip -9 zenity_win64.zip zenity.exe
rm resource.syso
GOOS=darwin GOARCH=arm64 go build -ldflags="-s -w" -trimpath &&
zip -9 zenity_macos_arm.zip zenity
GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w" -trimpath && GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w" -trimpath &&
zip -9 zenity_macos.zip zenity zip -9 zenity_macos.zip zenity