From 0202b27803a7f4e5413f0d8be67b6bd19efaca44 Mon Sep 17 00:00:00 2001 From: Daniel Markstedt Date: Sun, 28 Jan 2024 05:33:38 -0800 Subject: [PATCH] Create FreeBSD job --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f07345c..eb1aabb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,3 +61,28 @@ jobs: run: ./configure - name: Compile run: make -j $(nproc) + + build-freebsd: + name: "FreeBSD" + runs-on: ubuntu-22.04 + permissions: + contents: read + steps: + - name: "Checkout repository" + uses: actions/checkout@v4 + - name: "Build on VM" + uses: vmactions/freebsd-vm@v1.0.5 + with: + copyback: false + prepare: | + pkg install -y \ + autoconf \ + automake \ + fusefs-libs \ + gmp \ + libgcrypt \ + libtool + run: | + ./bootstrap + CFLAGS="-I/usr/local/include -L/usr/local/lib" ./configure + make -j $(nproc)