Fix/packaging (#1047)
* Fix OpenWrt build. Signed-off-by: Toni Uhlig <matzeton@googlemail.com> * Fixed Debian/Ubuntu packaging. Signed-off-by: Toni Uhlig <matzeton@googlemail.com> * Added DPKG package build to a CI job. Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
+8
-1
@@ -6,11 +6,15 @@ matrix:
|
||||
compiler: clang
|
||||
|
||||
- os: linux
|
||||
env: BUILD_DPKG_PACKAGE=y
|
||||
compiler: gcc
|
||||
dist: bionic
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- fakeroot
|
||||
- debhelper
|
||||
- dpkg-dev
|
||||
- libpcap-dev
|
||||
- libgcrypt20-dev
|
||||
- libjson-c-dev
|
||||
@@ -189,7 +193,10 @@ before_script:
|
||||
# - lcov --directory . --zerocounters
|
||||
|
||||
script:
|
||||
- if [ -n "$QA_FUZZ" ]; then ./configure --enable-fuzztargets ; else ./configure ; fi
|
||||
- if [ -n "$QA_FUZZ" ]; then ./configure --enable-fuzztargets ; else
|
||||
./configure ; fi
|
||||
- if [ -n "$BUILD_DPKG_PACKAGE" ]; then cd ./packages/ubuntu ;
|
||||
./configure && dpkg-buildpackage -b -us -uc ; cd ../.. ; fi
|
||||
- make
|
||||
- make -C example ndpiSimpleIntegration
|
||||
- make dist
|
||||
|
||||
Reference in New Issue
Block a user