Update build.yml

Enable CGO builds
This commit is contained in:
kjake 2025-01-19 15:54:30 -05:00
parent 8e4438c1b5
commit 0cff12b1b6
1 changed files with 2 additions and 3 deletions

View File

@ -7,7 +7,8 @@ jobs:
runs-on: ubuntu-latest
env:
GOEXPERIMENT: "noboringcrypto"
CGO_ENABLED: 0
# Looks like CGO is required for FreeBSD building
CGO_ENABLED: 1
steps:
- uses: actions/checkout@v4
- name: Building from source
@ -25,6 +26,4 @@ jobs:
git config --global --add safe.directory /home/runner/work/cloudflared/cloudflared
go install golang.org/x/tools/cmd/goimports@latest
run: |
echo $GOEXPERIMENT
echo $CGO_ENABLED
sudo gmake install-go cloudflared cleanup-go