linux build with cgo=1
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user