mirror of
https://github.com/vel21ripn/nDPI.git
synced 2026-04-30 16:09:43 +00:00
Updated README.md (#1562)
* make check great again (not so much) * make doc/doc-view * CI updates Signed-off-by: lns <matzeton@googlemail.com>
This commit is contained in:
parent
ca115774c9
commit
00ee364a7e
11 changed files with 93 additions and 42 deletions
27
.github/workflows/build.yml
vendored
27
.github/workflows/build.yml
vendored
|
|
@ -30,9 +30,7 @@ jobs:
|
|||
run: make all
|
||||
- name: Test
|
||||
run: |
|
||||
./tests/do.sh
|
||||
./tests/do-unit.sh
|
||||
./tests/do-dga.sh
|
||||
make check VERBOSE=1
|
||||
- name: Generate Coverage Report
|
||||
run: |
|
||||
mkdir -vp coverage_report/ndpi_coverage_report
|
||||
|
|
@ -66,9 +64,9 @@ jobs:
|
|||
sudo make install
|
||||
- name: Generate Python bindings
|
||||
run: |
|
||||
cd python
|
||||
pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
pip install -r python/requirements.txt
|
||||
cd python
|
||||
python setup.py install
|
||||
cd ..
|
||||
- name: Test Python Bindings
|
||||
|
|
@ -96,11 +94,9 @@ jobs:
|
|||
./autogen.sh --with-only-libndpi
|
||||
- name: Generate Documentation
|
||||
run: |
|
||||
cd doc
|
||||
pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
make html
|
||||
cd ..
|
||||
pip install -r doc/requirements.txt
|
||||
make doc
|
||||
mkdir -vp doc/_build/ndpi-documentation-upload/ndpi-documentation
|
||||
mv -v doc/_build/html doc/_build/ndpi-documentation-upload/ndpi-documentation/html
|
||||
- uses: actions/upload-artifact@v2
|
||||
|
|
@ -288,9 +284,7 @@ jobs:
|
|||
- name: Installing MacOS prerequisites
|
||||
if: startsWith(matrix.os, 'macOS') && startsWith(matrix.arch, 'x86_64')
|
||||
run: |
|
||||
brew install autoconf automake libtool pkg-config gettext json-c
|
||||
brew install coreutils wdiff colordiff
|
||||
brew install rrdtool
|
||||
brew install coreutils wdiff colordiff autoconf automake libtool pkg-config gettext json-c rrdtool
|
||||
- name: Install MacOS Prerequisites (libgcrypt)
|
||||
if: startsWith(matrix.os, 'macOS') && startsWith(matrix.arch, 'x86_64') && startsWith(matrix.gcrypt, '--with-local-libgcrypt')
|
||||
run: |
|
||||
|
|
@ -396,8 +390,7 @@ jobs:
|
|||
make all &&
|
||||
make -C example ndpiSimpleIntegration &&
|
||||
make -C rrdtool &&
|
||||
./tests/do.sh &&
|
||||
./tests/do-unit.sh
|
||||
make check VERBOSE=1
|
||||
"
|
||||
- name: Display qemu specified architecture (armhf - little endian)
|
||||
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.arch, 'armhf')
|
||||
|
|
@ -421,8 +414,7 @@ jobs:
|
|||
make all &&
|
||||
make -C example ndpiSimpleIntegration &&
|
||||
make -C rrdtool &&
|
||||
./tests/do.sh &&
|
||||
./tests/do-unit.sh
|
||||
make check VERBOSE=1
|
||||
"
|
||||
- name: Display qemu specified architecture (s390x - big endian)
|
||||
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.arch, 's390x')
|
||||
|
|
@ -446,6 +438,5 @@ jobs:
|
|||
make all &&
|
||||
make -C example ndpiSimpleIntegration &&
|
||||
make -C rrdtool &&
|
||||
./tests/do.sh &&
|
||||
./tests/do-unit.sh
|
||||
make check VERBOSE=1
|
||||
"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue