mirror of
https://github.com/allinurl/goaccess.git
synced 2025-06-19 06:55:32 -04:00
Added a FreeBSD build test to the runner.
This commit is contained in:
parent
a5e4ea4fef
commit
56a2d9ae82
24
.github/workflows/build-test.yml
vendored
24
.github/workflows/build-test.yml
vendored
@ -54,7 +54,7 @@ jobs:
|
|||||||
bing.com:80 142.250.190.142 - - [01/Jul/2013:06:41:31 -0500] "-" 408 0 "-" "-"\
|
bing.com:80 142.250.190.142 - - [01/Jul/2013:06:41:31 -0500] "-" 408 0 "-" "-"\
|
||||||
yahoo.com:80 74.6.143.25 - - [01/Jul/2013:07:20:02 -0500] "HEAD / HTTP/1.1" 200 213 "-" "Wget/1.14 (linux-gnu)"' > access.log
|
yahoo.com:80 74.6.143.25 - - [01/Jul/2013:07:20:02 -0500] "HEAD / HTTP/1.1" 200 213 "-" "Wget/1.14 (linux-gnu)"' > access.log
|
||||||
cat access.log
|
cat access.log
|
||||||
|
|
||||||
- name: Set up output directory
|
- name: Set up output directory
|
||||||
run: echo "output_dir=${GITHUB_WORKSPACE}/report" >> $GITHUB_ENV
|
run: echo "output_dir=${GITHUB_WORKSPACE}/report" >> $GITHUB_ENV
|
||||||
|
|
||||||
@ -74,3 +74,25 @@ jobs:
|
|||||||
|
|
||||||
- name: Make distclean
|
- name: Make distclean
|
||||||
run: sudo make distclean
|
run: sudo make distclean
|
||||||
|
|
||||||
|
build-freebsd:
|
||||||
|
name: Build and Test on FreeBSD via Docker
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Pull FreeBSD Docker Image
|
||||||
|
run: docker pull freebsd:latest
|
||||||
|
- name: Build and Test in FreeBSD Container
|
||||||
|
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 && \
|
||||||
|
./goaccess --version
|
||||||
|
make check && \
|
||||||
|
make distcheck
|
||||||
|
"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user