关闭cgo
continuous-integration/drone/push Build is passing Details

This commit is contained in:
giaogiao 2023-09-15 11:41:37 +08:00
parent 62296d7fe0
commit 0d8cf3053d
1 changed files with 2 additions and 2 deletions

View File

@ -45,6 +45,6 @@ do
fi fi
echo "Start compiling the system:${array[0]} architecture:${array[1]}" echo "Start compiling the system:${array[0]} architecture:${array[1]}"
# echo "CGO_ENABLED=0 GOOS=${array[0]} GOARCH=${array[1]} go build -o /root/web/${array[0]}_${array[1]}_main${extension}" # echo "CGO_ENABLED=0 GOOS=${array[0]} GOARCH=${array[1]} go build -o /root/web/${array[0]}_${array[1]}_main${extension}"
# CGO_ENABLED=0 GOOS=${array[0]} GOARCH=${array[1]} go build -o /root/web/${array[0]}_${array[1]}_main${extension} CGO_ENABLED=0 GOOS=${array[0]} GOARCH=${array[1]} go build -o /root/web/${array[0]}_${array[1]}_main${extension}
GOOS=${array[0]} GOARCH=${array[1]} go build -o /root/web/${array[0]}_${array[1]}_main${extension}
done done