Merge pull request #134 from apernet/ci-cgo

ci: enable cgo
This commit is contained in:
Toby
2024-05-07 23:40:17 -07:00
committed by GitHub

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" .