Use the FreeBSD GitHub Runner (vmactions/freebsd).

This commit is contained in:
Gerardo O 2025-04-02 17:46:06 -05:00
parent 56a2d9ae82
commit 2543d0e5c4

View File

@ -76,23 +76,20 @@ jobs:
run: sudo make distclean
build-freebsd:
name: Build and Test on FreeBSD via Docker
runs-on: ubuntu-latest
runs-on: macos-14
steps:
- uses: actions/checkout@v3
- name: Pull FreeBSD Docker Image
run: docker pull freebsd:latest
- name: Build and Test in FreeBSD Container
- name: Test on FreeBSD
uses: vmactions/freebsd-vm@v1
with:
usesh: true
prepare: |
pkg update
pkg install -y git autoconf automake gcc libtool gettext ncurses libmaxminddb jq
run: |
docker run --rm -v "${{ github.workspace }}:/src" freebsd:latest /bin/sh -c "
pkg update && \
pkg install -y git autoconf automake gcc libtool gettext ncurses libmaxminddb jq && \
cd /src && \
autoreconf -fiv && \
./configure && \
make && \
autoreconf -fiv
./configure
make
./goaccess --version
make check && \
make check
make distcheck
"