Update build.yml

Re-target FreeBSD 14.1
Debug environment vars
This commit is contained in:
kjake 2025-01-19 15:07:44 -05:00
parent cae50fffc0
commit 8e4438c1b5
1 changed files with 4 additions and 0 deletions

View File

@ -17,10 +17,14 @@ jobs:
envs: 'GOEXPERIMENT CGO_ENABLED'
usesh: true
mem: 4096
# We're specifically building for OPNsense, which is most recently on FreeBSD 14.1
release: "14.1"
# Note that the test scripts require bash
prepare: |
pkg install -y sudo gmake bash git go golangci-lint curl wget fakeroot libffi rubygem-fpm
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