Commit d1c21a7b authored by suyanlong's avatar suyanlong

🐛 Enable golang CGO_ENABLED=1 env

parent af667df6
Pipeline #8149 failed with stages
......@@ -28,7 +28,7 @@ GOLDFLAGS += -X "${VERSION_DIR}.CurrentVersion=${APP_VERSION}"
STATIC_LDFLAGS += ${GOLDFLAGS}
STATIC_LDFLAGS += -linkmode external -extldflags -static
GO = GO111MODULE=on go
GO = GO111MODULE=on CGO_ENABLED=1 go
TEST_PKGS := $(shell $(GO) list ./... | grep -v 'cmd' | grep -v 'mock_*' | grep -v 'proto' | grep -v 'imports' \
| grep -v 'internal/app' | grep -v 'api' | grep -v 'exchanger' | grep -v 'syncer' \
| grep -v 'plugins' | grep -v 'peermgr' )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment