|
|
|
|
@ -568,6 +568,58 @@ jobs:
|
|
|
|
|
- name: Running suricata-verify
|
|
|
|
|
run: python3 ./suricata-verify/run.py
|
|
|
|
|
|
|
|
|
|
ubuntu-20-04-too-old-rust:
|
|
|
|
|
name: Ubuntu 20.04 (unsupported rust)
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
container: ubuntu:20.04
|
|
|
|
|
needs: centos-8
|
|
|
|
|
steps:
|
|
|
|
|
- name: Install dependencies
|
|
|
|
|
run: |
|
|
|
|
|
apt update
|
|
|
|
|
apt -y install \
|
|
|
|
|
build-essential \
|
|
|
|
|
curl \
|
|
|
|
|
libtool \
|
|
|
|
|
libpcap-dev \
|
|
|
|
|
libnet1-dev \
|
|
|
|
|
libyaml-0-2 \
|
|
|
|
|
libyaml-dev \
|
|
|
|
|
libcap-ng-dev \
|
|
|
|
|
libcap-ng0 \
|
|
|
|
|
libmagic-dev \
|
|
|
|
|
libnetfilter-queue-dev \
|
|
|
|
|
libnetfilter-queue1 \
|
|
|
|
|
libnfnetlink-dev \
|
|
|
|
|
libnfnetlink0 \
|
|
|
|
|
libhiredis-dev \
|
|
|
|
|
libjansson-dev \
|
|
|
|
|
libevent-dev \
|
|
|
|
|
libevent-pthreads-2.1-7 \
|
|
|
|
|
libjansson-dev \
|
|
|
|
|
libpython2.7 \
|
|
|
|
|
libpcre3 \
|
|
|
|
|
libpcre3-dev \
|
|
|
|
|
make \
|
|
|
|
|
python3-yaml \
|
|
|
|
|
software-properties-common \
|
|
|
|
|
zlib1g \
|
|
|
|
|
zlib1g-dev \
|
|
|
|
|
- run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.33.0 -y
|
|
|
|
|
- run: echo "::add-path::$HOME/.cargo/bin"
|
|
|
|
|
- name: Download suricata.tar.gz
|
|
|
|
|
uses: actions/download-artifact@v2
|
|
|
|
|
with:
|
|
|
|
|
name: dist
|
|
|
|
|
- run: tar zxvf suricata-*.tar.gz --strip-components=1
|
|
|
|
|
- run: |
|
|
|
|
|
if ./configure; then
|
|
|
|
|
echo "error: configure should have failed"
|
|
|
|
|
exit 1
|
|
|
|
|
else
|
|
|
|
|
exit 0
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
ubuntu-18-04-debug-validation:
|
|
|
|
|
name: Ubuntu 18.04 (Debug Validation)
|
|
|
|
|
runs-on: ubuntu-18.04
|
|
|
|
|
|