File tree Expand file tree Collapse file tree 1 file changed +23
-5
lines changed Expand file tree Collapse file tree 1 file changed +23
-5
lines changed Original file line number Diff line number Diff line change 99jobs :
1010 build :
1111 runs-on : ${{ matrix.os }}
12-
12+
1313 strategy :
1414 matrix :
15- os : [ubuntu-latest, macOS -latest]
15+ os : [ubuntu-latest, macos -latest, macos-latest-xlarge ]
1616 include :
1717 - os : ubuntu-latest
18- setup-env : sudo apt-get update && sudo apt-get install -y build-essential autoconf gettext autopoint libncursesw5-dev libssl-dev git libmaxminddb-dev
18+ setup-env : sudo apt-get update && sudo apt-get install -y build-essential autoconf gettext autopoint libncursesw5-dev libssl-dev git libmaxminddb-dev jq
1919 - os : macos-latest
20- setup-env : brew update && brew install ncurses gettext autoconf automake libmaxminddb
20+ setup-env : brew update && brew install ncurses gettext autoconf automake libmaxminddb jq
2121
2222 steps :
2323 - name : Setup env.
2424 run : ${{ matrix.setup-env }}
2525 - uses : actions/checkout@v3
26- - name : autoreconf
26+ - name : Check Architecture
27+ run : |
28+ echo "Running on $(uname -m) architecture"
29+ - name : autoreconf
2730 run : autoreconf -fiv
2831 - name : configure
2932 run : ./configure
3336 run : sudo make check
3437 - name : make distcheck
3538 run : sudo make distcheck
39+ - name : define log
40+ run : |
41+ echo -e 'localhost:80 192.168.0.1 - - [01/Jul/2013:06:20:38 -0500] "GET / HTTP/1.1" 200 3829 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0"\
42+ google.com:80 ::1 - - [01/Jul/2013:06:25:11 -0500] "OPTIONS * HTTP/1.0" 200 136 "-" "Apache (internal dummy connection)"\
43+ bing.com:80 142.250.190.142 - - [01/Jul/2013:06:41:31 -0500] "-" 408 0 "-" "-"\
44+ 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
45+ cat access.log
46+ - name : Run goaccess single thread
47+ run : ./goaccess access.log --log-format=VCOMBINED -o report.html
48+ - name : Run goaccess multi-thread
49+ run : ./goaccess access.log --log-format=VCOMBINED -o report.html -j 2 -a
50+ - name : Run goaccess multi-thread JSON output
51+ run : |
52+ ./goaccess access.log --log-format=VCOMBINED -o report.json -j 2 -a --json-pretty-print
53+ cat report.json | jq .
You can’t perform that action at this time.
0 commit comments