Get rid of configure.seed as it comes with some disadvantages. (#1328)

* using Autotools best-practices to achieve (hopefully) the same result

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
Toni
2021-10-10 13:13:52 +02:00
committed by GitHub
parent 6ff67b5043
commit cf931fda6b
4 changed files with 54 additions and 82 deletions
+20 -26
View File
@@ -139,6 +139,7 @@ jobs:
if: startsWith(matrix.os, 'macOS') && startsWith(matrix.arch, 'x86_64')
run: |
brew install autoconf automake libtool pkg-config gettext json-c
brew install coreutils
- name: Install MacOS Prerequisites (libgcrypt)
if: startsWith(matrix.os, 'macOS') && startsWith(matrix.arch, 'x86_64') && !startsWith(matrix.gcrypt, '--disable-gcrypt')
run: |
@@ -171,11 +172,13 @@ jobs:
if: startsWith(matrix.arch, 'x86_64')
run: |
make all
cd example
make ndpiSimpleIntegration
cd ../python
make
cd ..
make -C example ndpiSimpleIntegration
make -C python
- name: Install nDPI
if: startsWith(matrix.arch, 'x86_64')
run: |
make install DESTDIR=$(realpath _install)
ls -alhHR _install
- name: Test nDPI [DIFF]
if: startsWith(matrix.arch, 'x86_64')
run: |
@@ -215,13 +218,10 @@ jobs:
apt-get -y install git autoconf automake libtool pkg-config gettext libjson-c-dev flex bison libpcap-dev libgcrypt20-dev libpcre3-dev libmaxminddb-dev &&
env CC=gcc CFLAGS='-Werror' ./autogen.sh --enable-debug-messages ${{ matrix.gcrypt }} ${{ matrix.msan }} ${{ matrix.pcre }} ${{ matrix.maxminddb }} &&
make all &&
cd example &&
make ndpiSimpleIntegration &&
cd ../python &&
make &&
cd ../tests &&
./do.sh &&
./do-unit.sh
make -C example ndpiSimpleIntegration &&
make -C python &&
./tests/do.sh &&
./tests/do-unit.sh
"
- name: Display qemu specified architecture (armhf - little endian)
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.arch, 'armhf')
@@ -242,13 +242,10 @@ jobs:
apt-get -y install git autoconf automake libtool pkg-config gettext libjson-c-dev flex bison libpcap-dev libgcrypt20-dev libpcre3-dev libmaxminddb-dev &&
env CC=gcc CFLAGS='-Werror' ./autogen.sh --enable-debug-messages ${{ matrix.gcrypt }} ${{ matrix.msan }} ${{ matrix.pcre }} ${{ matrix.maxminddb }} &&
make all &&
cd example &&
make ndpiSimpleIntegration &&
cd ../python &&
make &&
cd ../tests &&
./do.sh &&
./do-unit.sh
make -C example ndpiSimpleIntegration &&
make -C python &&
./tests/do.sh &&
./tests/do-unit.sh
"
- name: Display qemu specified architecture (s390x - big endian)
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.arch, 's390x')
@@ -269,11 +266,8 @@ jobs:
apt-get -y install git autoconf automake libtool pkg-config gettext libjson-c-dev flex bison libpcap-dev libgcrypt20-dev libpcre3-dev libmaxminddb-dev &&
env CC=gcc CFLAGS='-Werror' ./autogen.sh --enable-debug-messages ${{ matrix.gcrypt }} ${{ matrix.msan }} ${{ matrix.pcre }} ${{ matrix.maxminddb }} &&
make all &&
cd example &&
make ndpiSimpleIntegration &&
cd ../python &&
make &&
cd ../tests &&
./do.sh &&
./do-unit.sh
make -C example ndpiSimpleIntegration &&
make -C python &&
./tests/do.sh &&
./tests/do-unit.sh
"