CGO_ENABLED=0 for cross compile
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Sebastian Frank
2019-03-21 16:27:32 +01:00
parent 7df4a03171
commit 58681bd7df
2 changed files with 4 additions and 4 deletions

View File

@@ -48,7 +48,7 @@ steps:
- name: build for freebsd
image: golang:latest
environment:
CGO_ENABLED: 1
CGO_ENABLED: 0
GOOS: freebsd
GOARCH: amd64
commands:
@@ -59,7 +59,7 @@ steps:
- name: build for macos
image: golang:latest
environment:
CGO_ENABLED: 1
CGO_ENABLED: 0
GOOS: darwin
GOARCH: amd64
commands:
@@ -70,7 +70,7 @@ steps:
- name: build for windows
image: golang:latest
environment:
CGO_ENABLED: 1
CGO_ENABLED: 0
GOOS: windows
GOARCH: amd64
FILEEXT: .exe