-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
- Loading branch information
Showing
2 changed files
with
40 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
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 bash autoconf automake cmake gmake libtool gettext pkgconf gcc \ | ||
git wget unzip \ | ||
json-c flex bison libpcap curl openssl dbus | ||
run: | | ||
echo "Working Directory: $(pwd)" | ||
echo "User.............: $(whoami)" | ||
echo "FreeBSD Version..: $(freebsd-version)" | ||
# TODO: Make examples I/O event agnostic i.e. use nio | ||
cmake -S . -B build -DBUILD_NDPI=ON -DBUILD_EXAMPLES=OFF #-DENABLE_CURL=ON -DENABLE_DBUS=ON | ||
cmake --build build |
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