mirror of
https://github.com/AlistGo/alist.git
synced 2025-04-23 05:44:04 +08:00
ci: add darwin/arm64
target to dev build
This commit is contained in:
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…
x
Reference in New Issue
Block a user