ci: enable cgo

This commit is contained in:
Toby 2024-05-07 23:38:28 -07:00
parent c453020349
commit dabcc9566c

View File

@ -31,7 +31,6 @@ jobs:
env: env:
GOOS: ${{ matrix.goos }} GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.goarch }} GOARCH: ${{ matrix.goarch }}
CGO_ENABLED: 0
run: | run: |
mkdir -p build mkdir -p build
go build -o build/OpenGFW-${GOOS}-${GOARCH} -ldflags "-s -w" . go build -o build/OpenGFW-${GOOS}-${GOARCH} -ldflags "-s -w" .