开启cgo打包
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
f96286cde8
commit
62296d7fe0
3
bulid.sh
3
bulid.sh
|
@ -45,5 +45,6 @@ do
|
|||
fi
|
||||
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}"
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue