From 734d4b0354ed72a6f3b2013e2bd27feb4b11683f Mon Sep 17 00:00:00 2001 From: Andy Hsu Date: Fri, 15 Dec 2023 17:07:02 +0800 Subject: [PATCH] ci: add `darwin/arm64` target to dev build --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index c072572b..7071337d 100644 --- a/build.sh +++ b/build.sh @@ -75,7 +75,7 @@ BuildDev() { export CGO_ENABLED=1 go build -o ./dist/$appName-$os_arch -ldflags="$muslflags" -tags=jsoniter . done - xgo -targets=windows/amd64,darwin/amd64 -out "$appName" -ldflags="$ldflags" -tags=jsoniter . + xgo -targets=windows/amd64,darwin/amd64,darwin/arm64 -out "$appName" -ldflags="$ldflags" -tags=jsoniter . mv alist-* dist cd dist cp ./alist-windows-amd64.exe ./alist-windows-amd64-upx.exe