Skip to content

Commit

Permalink
dpdk: add DPDK test support in Github CI
Browse files Browse the repository at this point in the history
Add DPDK dependency to the build process in distributions with
a native support of DPDK in their default package managers.
  • Loading branch information
lukashino authored and victorjulien committed Dec 14, 2021
1 parent dab3274 commit 4972021
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/builds.yml
Expand Up @@ -188,6 +188,8 @@ jobs:
automake \
cargo-vendor \
diffutils \
numactl-devel \
dpdk-devel \
file-devel \
gcc \
gcc-c++ \
Expand Down Expand Up @@ -236,7 +238,7 @@ jobs:
CFLAGS="${DEFAULT_CFLAGS}" ./configure
- run: make -j2 distcheck
env:
DISTCHECK_CONFIGURE_FLAGS: "--enable-unittests --enable-debug --enable-lua --enable-geoip --enable-profiling --enable-profiling-locks"
DISTCHECK_CONFIGURE_FLAGS: "--enable-unittests --enable-debug --enable-lua --enable-geoip --enable-profiling --enable-profiling-locks --enable-dpdk"
- run: test -e doc/userguide/suricata.1
- name: Building Rust documentation
run: make doc
Expand Down Expand Up @@ -661,6 +663,7 @@ jobs:
libnetfilter-queue1 \
libnfnetlink-dev \
libnfnetlink0 \
libnuma-dev \
libhiredis-dev \
liblua5.1-dev \
libjansson-dev \
Expand All @@ -676,7 +679,8 @@ jobs:
zlib1g \
zlib1g-dev \
exuberant-ctags \
curl
curl \
dpdk-dev
- uses: actions/checkout@v2
- uses: actions/download-artifact@v2
with:
Expand Down Expand Up @@ -736,6 +740,7 @@ jobs:
libnetfilter-queue1 \
libnfnetlink-dev \
libnfnetlink0 \
libnuma-dev \
libhiredis-dev \
liblua5.1-dev \
libjansson-dev \
Expand All @@ -751,7 +756,8 @@ jobs:
zlib1g \
zlib1g-dev \
exuberant-ctags \
curl
curl \
dpdk-dev
- uses: actions/checkout@v2
- uses: actions/download-artifact@v2
with:
Expand Down Expand Up @@ -811,6 +817,7 @@ jobs:
libnetfilter-queue1 \
libnfnetlink-dev \
libnfnetlink0 \
libnuma-dev \
libhiredis-dev \
liblua5.1-dev \
libjansson-dev \
Expand All @@ -829,7 +836,8 @@ jobs:
unzip \
curl \
time \
wget
wget \
dpdk-dev
- uses: actions/checkout@v2
- uses: actions/download-artifact@v2
with:
Expand Down Expand Up @@ -883,6 +891,7 @@ jobs:
libnetfilter-queue1 \
libnfnetlink-dev \
libnfnetlink0 \
libnuma-dev \
libhiredis-dev \
libjansson-dev \
libevent-dev \
Expand All @@ -897,7 +906,8 @@ jobs:
software-properties-common \
zlib1g \
zlib1g-dev \
exuberant-ctags
exuberant-ctags \
dpdk-dev
- uses: actions/checkout@v2
- uses: actions/download-artifact@v2
with:
Expand Down Expand Up @@ -957,6 +967,7 @@ jobs:
libnetfilter-queue1 \
libnfnetlink-dev \
libnfnetlink0 \
libnuma-dev \
libhiredis-dev \
libjansson-dev \
libevent-dev \
Expand All @@ -969,6 +980,7 @@ jobs:
software-properties-common \
zlib1g \
zlib1g-dev \
dpdk-dev
- run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.33.0 -y
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Download suricata.tar.gz
Expand Down

0 comments on commit 4972021

Please sign in to comment.