Skip to content

Commit

Permalink
Add FreeBSD CI test
Browse files Browse the repository at this point in the history
  • Loading branch information
rodarima committed Dec 12, 2023
1 parent e1300db commit c2cc50f
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 10 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/freebsd.yml
Original file line number Diff line number Diff line change
@@ -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
10 changes: 0 additions & 10 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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 ------------------------------------
Expand Down

0 comments on commit c2cc50f

Please sign in to comment.