mirror of
https://github.com/nfstream/nfstream.git
synced 2026-05-20 01:01:34 +00:00
Fix arm64 CI.
This commit is contained in:
parent
321c0aa75b
commit
fcd17e504b
1 changed files with 12 additions and 3 deletions
15
.github/workflows/build_test_publish_arm64.yml
vendored
15
.github/workflows/build_test_publish_arm64.yml
vendored
|
|
@ -40,7 +40,14 @@ jobs:
|
|||
run: |
|
||||
${{ matrix.python-version }} -m pip install -r dev_requirements.txt
|
||||
|
||||
- name: Build Engine dependencies
|
||||
- name: Check cached dependencies
|
||||
run: |
|
||||
exit $(ls /usr/local/lib/ | grep libgpg-error.a | wc -l)
|
||||
exit $(ls /usr/local/lib/ | grep libgcrypt.a | wc -l)
|
||||
exit $(ls /usr/local/lib/ | grep libpcap.a | wc -l)
|
||||
|
||||
- name: Build Engine dependencies (non changing)
|
||||
if: failure()
|
||||
run: |
|
||||
git clone --branch libgpg-error-1.42 https://github.com/gpg/libgpg-error
|
||||
cd libgpg-error
|
||||
|
|
@ -65,18 +72,20 @@ jobs:
|
|||
sudo make install
|
||||
cd ..
|
||||
rm -rf libpcap
|
||||
|
||||
- name: Build Engine dependencies (changing)
|
||||
run: |
|
||||
git clone --branch dev https://github.com/ntop/nDPI.git
|
||||
cd nDPI
|
||||
./autogen.sh --with-local-libgcrypt
|
||||
./configure
|
||||
make
|
||||
sudo mkdir /usr/local/include/ndpi
|
||||
sudo cp -a src/include/. /usr/local/include/ndpi/
|
||||
sudo cp example/ndpiReader /usr/local/bin/ndpiReader
|
||||
sudo cp src/lib/libndpi.a /usr/local/lib/libndpi.a
|
||||
cd ..
|
||||
rm -rf nDPI
|
||||
${{ matrix.python-version }} setup.py bdist_wheel
|
||||
python setup.py bdist_wheel
|
||||
|
||||
- name: Generated wheel
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue