Skip to content

Commit

Permalink
ci: cancel win/arm64 on dev build [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
xhofe committed Feb 9, 2023
1 parent ab7dee4 commit d87878c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ BuildWinArm64() {

BuildDev() {
rm -rf .git/
BuildWinArm64 ./alist-windows-arm64.exe
xgo -targets=linux/amd64,windows/amd64,darwin/amd64 -out "$appName" -ldflags="$ldflags" -tags=jsoniter .
mkdir -p "dist"
mv alist-* dist
Expand Down Expand Up @@ -94,7 +93,7 @@ BuildRelease() {
xgo -out "$appName" -ldflags="$ldflags" -tags=jsoniter .
# why? Because some target platforms seem to have issues with upx compression
upx -9 ./alist-linux-amd64
upx -9 ./alist-windows*
upx -9 ./alist-windows-amd64.exe
mv alist-* build
}

Expand Down

0 comments on commit d87878c

Please sign in to comment.