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