mirror of
https://github.com/allinurl/goaccess.git
synced 2025-06-18 22:45:36 -04:00
Use the FreeBSD GitHub Runner (vmactions/freebsd).
This commit is contained in:
parent
56a2d9ae82
commit
2543d0e5c4
27
.github/workflows/build-test.yml
vendored
27
.github/workflows/build-test.yml
vendored
@ -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
|
||||
"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user