aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorlns <matzeton@googlemail.com>2022-05-30 00:32:31 +0200
committerlns <matzeton@googlemail.com>2022-05-30 19:22:22 +0200
commitfd5fa116f29d76269d90da78b6efa8cb2d6e6c07 (patch)
tree2192065ba2b96d7a93c8e3768093388604ee32f8 /.github
parent912b69af60ce2408341fa440374195330fe46439 (diff)
* make check great again (not so much) * make doc/doc-view * CI updates Signed-off-by: lns <matzeton@googlemail.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml27
1 files changed, 9 insertions, 18 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index b94cdb066..bd16bb1eb 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -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
"