Add wheels generation job.

This commit is contained in:
aouinizied 2022-04-07 18:38:56 +02:00
parent d5983c0424
commit 8ad36fcf89
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@ jobs:
pip install twine
- name: Build and generate wheels
uses: RalfG/python-wheels-manylinux-build@v0.4.2-manylinux_2_24_x86_64
uses: RalfG/python-wheels-manylinux-build@v0.4.2-manylinux2014_x86_64
with:
python-versions: 'cp36-cp36m cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310 pp37-pypy37 pp38-pypy38 pp39-pypy39'
build-requirements: 'cffi>=1.15.0 psutil>=5.8.0 numpy>=1.19.5 pandas>=1.1.5,<6.3 dpkt>=1.9.7'

View file

@ -64,7 +64,7 @@ build_libndpi() {
echo "Compiling libndpi"
echo "---------------------------------------------------------------------------------------------------------------"
cd nDPI
sed -i 's/PKG_CHECK_MODULES/dnl> /g' configure.ac
# sed -i 's/PKG_CHECK_MODULES/dnl> /g' configure.ac
env CFLAGS="-I/tmp/nfstream_build/usr/local/include" LDFLAGS="-L/tmp/nfstream_build/usr/local/lib" ./autogen.sh --with-local-libgcrypt
make
make DESTDIR=/tmp/nfstream_build install