Add FreeBSD CI build #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: FreeBSD Build | |
on: | |
schedule: | |
# At the end of every day | |
- cron: '0 0 * * *' | |
push: | |
branches: | |
- main | |
- tmp | |
pull_request: | |
branches: | |
- main | |
types: [opened, synchronize, reopened] | |
release: | |
types: [created] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: Build and Test | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Test in FreeBSD | |
id: test | |
uses: vmactions/freebsd-vm@v1 | |
with: | |
usesh: true | |
prepare: | | |
pkg install -y autoconf automake cmake gmake libtool gettext pkgconf gcc \ | |
json-c flex bison libpcap linux-c7-zlib-devel curl-devel openssl-devel dbus-devel | |
run: | | |
echo "Working Directory: $(pwd)" | |
echo "User.............: $(whoami)" | |
echo "FreeBSD Version..: $(freebsd-version)" | |