|
|
|
|
@ -613,94 +613,6 @@ jobs:
|
|
|
|
|
- run: make clean
|
|
|
|
|
- run: make -j ${{ env.CPUS }}
|
|
|
|
|
|
|
|
|
|
centos-stream8:
|
|
|
|
|
name: CentOS Stream 8
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
container: quay.io/centos/centos:stream8
|
|
|
|
|
needs: [prepare-deps, debian-12-dist]
|
|
|
|
|
steps:
|
|
|
|
|
# Cache Rust stuff.
|
|
|
|
|
- name: Cache cargo registry
|
|
|
|
|
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
|
|
|
|
|
with:
|
|
|
|
|
path: ~/.cargo
|
|
|
|
|
key: ${{ github.job }}-cargo
|
|
|
|
|
|
|
|
|
|
- name: Cache RPMs
|
|
|
|
|
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
|
|
|
|
|
with:
|
|
|
|
|
path: /var/cache/dnf
|
|
|
|
|
key: ${{ github.job }}-dnf
|
|
|
|
|
- run: echo "keepcache=1" >> /etc/dnf/dnf.conf
|
|
|
|
|
|
|
|
|
|
- name: Determine number of CPUs
|
|
|
|
|
run: echo CPUS=$(nproc --all) >> $GITHUB_ENV
|
|
|
|
|
|
|
|
|
|
- name: Install system packages
|
|
|
|
|
run: |
|
|
|
|
|
dnf -y install dnf-plugins-core epel-release
|
|
|
|
|
dnf config-manager --set-enabled powertools
|
|
|
|
|
dnf -y install \
|
|
|
|
|
autoconf \
|
|
|
|
|
automake \
|
|
|
|
|
diffutils \
|
|
|
|
|
numactl-devel \
|
|
|
|
|
dpdk-devel \
|
|
|
|
|
file-devel \
|
|
|
|
|
gcc \
|
|
|
|
|
gcc-c++ \
|
|
|
|
|
git \
|
|
|
|
|
jansson-devel \
|
|
|
|
|
jq \
|
|
|
|
|
libtool \
|
|
|
|
|
libyaml-devel \
|
|
|
|
|
libnfnetlink-devel \
|
|
|
|
|
libnetfilter_queue-devel \
|
|
|
|
|
libnet-devel \
|
|
|
|
|
libcap-ng-devel \
|
|
|
|
|
libevent-devel \
|
|
|
|
|
libmaxminddb-devel \
|
|
|
|
|
libpcap-devel \
|
|
|
|
|
libtool \
|
|
|
|
|
lz4-devel \
|
|
|
|
|
make \
|
|
|
|
|
pcre2-devel \
|
|
|
|
|
pkgconfig \
|
|
|
|
|
python3-devel \
|
|
|
|
|
python3-yaml \
|
|
|
|
|
rust-toolset \
|
|
|
|
|
sudo \
|
|
|
|
|
which \
|
|
|
|
|
zlib-devel
|
|
|
|
|
- name: Download suricata.tar.gz
|
|
|
|
|
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e
|
|
|
|
|
with:
|
|
|
|
|
name: dist
|
|
|
|
|
- run: tar zxvf suricata-*.tar.gz --strip-components=1
|
|
|
|
|
- name: ./configure
|
|
|
|
|
run: CFLAGS="${DEFAULT_CFLAGS}" ./configure
|
|
|
|
|
- run: make -j ${{ env.CPUS }}
|
|
|
|
|
- run: make install
|
|
|
|
|
- run: make install-conf
|
|
|
|
|
- run: suricatasc -h
|
|
|
|
|
- run: suricata-update -V
|
|
|
|
|
- name: Check if Suricata-Update example configuration files are installed
|
|
|
|
|
run: |
|
|
|
|
|
test -e /usr/local/lib/suricata/python/suricata/update/configs/disable.conf
|
|
|
|
|
test -e /usr/local/lib/suricata/python/suricata/update/configs/drop.conf
|
|
|
|
|
test -e /usr/local/lib/suricata/python/suricata/update/configs/enable.conf
|
|
|
|
|
test -e /usr/local/lib/suricata/python/suricata/update/configs/modify.conf
|
|
|
|
|
test -e /usr/local/lib/suricata/python/suricata/update/configs/threshold.in
|
|
|
|
|
test -e /usr/local/lib/suricata/python/suricata/update/configs/update.yaml
|
|
|
|
|
- uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
|
path: prep
|
|
|
|
|
- run: tar xf prep/suricata-verify.tar.gz
|
|
|
|
|
- run: python3 ./suricata-verify/run.py -q --debug-failed
|
|
|
|
|
- run: suricata-update -V
|
|
|
|
|
- run: suricatasc -h
|
|
|
|
|
|
|
|
|
|
fedora-39-sv-codecov:
|
|
|
|
|
name: Fedora 39 (Suricata Verify codecov)
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|