From cae50fffc0f3407b372234eedfe59b95f0c2290f Mon Sep 17 00:00:00 2001 From: kjake Date: Sun, 19 Jan 2025 14:44:20 -0500 Subject: [PATCH] Update build.yml ensure dependancies are met --- .github/workflows/build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0373a114..f97d00d2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,17 +5,22 @@ permissions: read-all jobs: build_freebsd: runs-on: ubuntu-latest + env: + GOEXPERIMENT: "noboringcrypto" + CGO_ENABLED: 0 steps: - uses: actions/checkout@v4 - name: Building from source id: build_freebsd uses: vmactions/freebsd-vm@v1 with: + envs: 'GOEXPERIMENT CGO_ENABLED' usesh: true mem: 4096 # Note that the test scripts require bash prepare: | - pkg install -y sudo gmake bash git go curl + 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: | sudo gmake install-go cloudflared cleanup-go