From 6cca71a05c85ae3761f75e0ed9b835fb678f0cfd Mon Sep 17 00:00:00 2001 From: kjake Date: Sun, 19 Jan 2025 13:47:49 -0500 Subject: [PATCH] Create build.yml Attempting automated FreeBSD builds --- .github/workflows/build.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..7cf6013b --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,20 @@ +# Build from source on FreeBSD. +name: build_freebsd +on: [push] +permissions: read-all +jobs: + build_freebsd: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Building from source + id: build_freebsd + uses: vmactions/freebsd-vm@v1 + with: + usesh: true + mem: 4096 + # Note that the test scripts require bash + prepare: | + pkg install -y sudo gmake bash git go curl + run: | + sudo gmake install-go cloudflared cleanup-go