diff options
author | Toni <matzeton@googlemail.com> | 2022-05-30 19:48:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-30 19:48:05 +0200 |
commit | 00ee364a7e0a0cdbf5d5323889f6e2fd9a84cd61 (patch) | |
tree | 6b57e865c53eeec3b5e4f1e96eebabc373490b29 /.github/workflows | |
parent | ca115774c9d735dc48a241682efded272011c009 (diff) |
Updated README.md (#1562)
* make check great again (not so much)
* make doc/doc-view
* CI updates
Signed-off-by: lns <matzeton@googlemail.com>
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/build.yml | 27 |
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 " |