Skip to content

Commit 5b11b7f

Browse files
committed
[ci] Build Backplane with CGO
1 parent e7f01bb commit 5b11b7f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ci/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ func (m *ApoxyCli) BuildBackplane(
193193
WithEnvVariable("GOMODCACHE", "/go/pkg/mod").
194194
WithMountedCache("/go/build-cache", dag.CacheVolume("go-build-"+goarch)).
195195
WithEnvVariable("GOCACHE", "/go/build-cache").
196+
WithEnvVariable("CGO_ENABLED", "1").
196197
WithExec([]string{"go", "build", "-o", bpOut, "./cmd/backplane"}).
197198
WithExec([]string{"go", "build", "-o", dsOut, "./cmd/dial-stdio"})
198199

0 commit comments

Comments
 (0)