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 ac4a912
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 2 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/freebsd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
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
cat config.log
make
make check
make distcheck
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ 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"
AX_CPPFLAGS="$AX_CPPFLAGS -I/usr/local/include"
AX_LDFLAGS="$AX_LDFLAGS -L/usr/local/lib"
fi

dnl ------------------------------------
Expand Down

0 comments on commit ac4a912

Please sign in to comment.