From f9f1db14dea80df66b6c1b748c146476d2480672 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Tue, 12 Dec 2023 21:29:17 +0100 Subject: [PATCH] Add FreeBSD CI test --- .github/workflows/freebsd.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/freebsd.yml diff --git a/.github/workflows/freebsd.yml b/.github/workflows/freebsd.yml new file mode 100644 index 00000000..dd01b2fc --- /dev/null +++ b/.github/workflows/freebsd.yml @@ -0,0 +1,35 @@ +name: Test + +on: [push] + +jobs: + test: + runs-on: ubuntu-latest + name: A job to run test in FreeBSD + env: + MYTOKEN : "lala" + MYTOKEN2: "value2" + steps: + - uses: actions/checkout@v4 + - name: Test in FreeBSD + id: test + uses: vmactions/freebsd-vm@v1 + with: + envs: 'MYTOKEN MYTOKEN2' + usesh: true + prepare: | + set -x + pkg install -y curl mbedtls automake fltk + + run: | + set -x + pwd + ls -lah + whoami + env + freebsd-version + ./autogen.sh + ./configure + make + make check + make distcheck