ci: add `darwin/arm64` target to dev build

pull/5605/head
Andy Hsu 2023-12-15 17:07:02 +08:00
parent 74b20dedc3
commit 734d4b0354
1 changed files with 1 additions and 1 deletions

View File

@ -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