parent
8aa84e46e3
commit
cae50fffc0
|
@ -5,17 +5,22 @@ permissions: read-all
|
||||||
jobs:
|
jobs:
|
||||||
build_freebsd:
|
build_freebsd:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
GOEXPERIMENT: "noboringcrypto"
|
||||||
|
CGO_ENABLED: 0
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Building from source
|
- name: Building from source
|
||||||
id: build_freebsd
|
id: build_freebsd
|
||||||
uses: vmactions/freebsd-vm@v1
|
uses: vmactions/freebsd-vm@v1
|
||||||
with:
|
with:
|
||||||
|
envs: 'GOEXPERIMENT CGO_ENABLED'
|
||||||
usesh: true
|
usesh: true
|
||||||
mem: 4096
|
mem: 4096
|
||||||
# Note that the test scripts require bash
|
# Note that the test scripts require bash
|
||||||
prepare: |
|
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
|
git config --global --add safe.directory /home/runner/work/cloudflared/cloudflared
|
||||||
|
go install golang.org/x/tools/cmd/goimports@latest
|
||||||
run: |
|
run: |
|
||||||
sudo gmake install-go cloudflared cleanup-go
|
sudo gmake install-go cloudflared cleanup-go
|
||||||
|
|
Loading…
Reference in New Issue