diff --git a/.github/workflows/freebsd.yml b/.github/workflows/freebsd.yml new file mode 100644 index 00000000..a3dc2135 --- /dev/null +++ b/.github/workflows/freebsd.yml @@ -0,0 +1,37 @@ +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 + ls -l /usr/local + ls -l /usr/local/include + ./autogen.sh + ./configure + make + make check + make distcheck diff --git a/configure.ac b/configure.ac index b436a9a6..b6e3832d 100644 --- a/configure.ac +++ b/configure.ac @@ -70,16 +70,6 @@ dnl ----------------------------------------------------------------- dnl BASE_CUR_WORKING_DIR=`pwd` -dnl -------------------------------------- -dnl Check whether to add /usr/local or not -dnl (this is somewhat a religious problem) -dnl -------------------------------------- -dnl -if test "`$CPP -v < /dev/null 2>&1 | grep '/usr/local/include' 2>&1`" = ""; then - CPPFLAGS="$CPPFLAGS -I/usr/local/include" - LDFLAGS="$LDFLAGS -L/usr/local/lib" -fi - dnl ------------------------------------ dnl Check for socket libs (AIX, Solaris) dnl ------------------------------------