- run: suricata-update -V
- run: suricatasc -h
- centos-7:
- name: CentOS 7
- runs-on: ubuntu-latest
- container: centos:7
- needs: [prepare-deps, debian-12-dist]
- steps:
- - name: Cache ~/.cargo
- uses: actions/cache@v3.3.1
- with:
- path: ~/.cargo
- key: ${{ github.job }}-cargo
-
- - name: Cache RPMs
- uses: actions/cache@v3.3.1
- with:
- path: /var/cache/yum
- key: ${{ github.job }}-yum
- - run: echo "keepcache=1" >> /etc/yum.conf
-
- - name: Install system dependencies
- run: |
- yum -y install epel-release
- yum -y install \
- autoconf \
- automake \
- cargo \
- diffutils \
- file-devel \
- gcc \
- gcc-c++ \
- jansson-devel \
- jq \
- lua-devel \
- libtool \
- libyaml-devel \
- libnfnetlink-devel \
- libnetfilter_queue-devel \
- libnet-devel \
- libcap-ng-devel \
- libevent-devel \
- libmaxminddb-devel \
- libpcap-devel \
- lz4-devel \
- make \
- nss-devel \
- pcre2-devel \
- pkgconfig \
- python36-PyYAML \
- rust \
- sudo \
- which \
- zlib-devel
- - name: Download suricata.tar.gz
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
- with:
- name: dist
- - run: tar zxvf suricata-*.tar.gz --strip-components=1
- # This isn't really needed as we are building from a prepared
- # package, but some package managers like RPM and Debian like to
- # run this command even on prepared packages, so make sure it
- # works.
- - name: Test autoreconf
- run: autoreconf -fv --install
- - run: CFLAGS="${DEFAULT_CFLAGS}" ./configure
- - run: make -j2
- - run: make install
- - run: make install-conf
- - run: make distcheck
- - run: make clean
- - run: make -j2
- - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
- 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-38-sv-codecov:
name: Fedora 38 (Suricata Verify codecov)
runs-on: ubuntu-latest