From 33ef54f261d15b363f2e1df69edf68977d94b464 Mon Sep 17 00:00:00 2001 From: zhiqiang feng Date: Tue, 29 Dec 2020 15:21:59 +0800 Subject: [PATCH] linux build with cgo=1 --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 8ef1216..7cf80b4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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