mirror of https://github.com/Xhofe/alist
ci: add `darwin/arm64` target to dev build
parent
74b20dedc3
commit
734d4b0354
2
build.sh
2
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
|
||||
|
|
Loading…
Reference in New Issue