linux build with cgo=1

This commit is contained in:
zhiqiang feng
2020-12-29 15:21:59 +08:00
parent d48aa350c8
commit 33ef54f261
+1 -1
View File
@@ -22,7 +22,7 @@ steps:
GO111MODULE: on
GOPROXY: https://goproxy.io
commands:
- GOOS=linux GOARCH=amd64 go build -o tele-recv-linux
- OOS=linux GOARCH=amd64 CGO_ENABLED=1 go build -o tele-recv-linux
- GOOS=windows GOARCH=amd64 CGO_ENABLED=1 CXX=x86_64-w64-mingw32-g++ CC=x86_64-w64-mingw32-gcc go build -o tele-recv-win64.exe
- tar cvzf tele-recv-linux-0.0.5.tar.gz tele-recv-linux tele-recv-win64.exe telegram.yaml