|
|
|
@ -406,82 +406,6 @@ jobs:
|
|
|
|
|
exit 0
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
fedora-31:
|
|
|
|
|
name: Fedora 31
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
container: fedora:31
|
|
|
|
|
needs: prep
|
|
|
|
|
steps:
|
|
|
|
|
|
|
|
|
|
# Cache Rust stuff.
|
|
|
|
|
- name: Cache cargo registry
|
|
|
|
|
uses: actions/cache@v1
|
|
|
|
|
with:
|
|
|
|
|
path: ~/.cargo/registry
|
|
|
|
|
key: cargo-registry
|
|
|
|
|
|
|
|
|
|
- run: |
|
|
|
|
|
dnf -y install \
|
|
|
|
|
autoconf \
|
|
|
|
|
automake \
|
|
|
|
|
cargo \
|
|
|
|
|
ccache \
|
|
|
|
|
diffutils \
|
|
|
|
|
file-devel \
|
|
|
|
|
gcc \
|
|
|
|
|
gcc-c++ \
|
|
|
|
|
git \
|
|
|
|
|
jansson-devel \
|
|
|
|
|
jq \
|
|
|
|
|
lua-devel \
|
|
|
|
|
libtool \
|
|
|
|
|
libyaml-devel \
|
|
|
|
|
libnfnetlink-devel \
|
|
|
|
|
libnetfilter_queue-devel \
|
|
|
|
|
libnet-devel \
|
|
|
|
|
libcap-ng-devel \
|
|
|
|
|
libevent-devel \
|
|
|
|
|
libmaxminddb-devel \
|
|
|
|
|
libpcap-devel \
|
|
|
|
|
libtool \
|
|
|
|
|
lz4-devel \
|
|
|
|
|
make \
|
|
|
|
|
nspr-devel \
|
|
|
|
|
nss-devel \
|
|
|
|
|
nss-softokn-devel \
|
|
|
|
|
pcre-devel \
|
|
|
|
|
pkgconfig \
|
|
|
|
|
python3-yaml \
|
|
|
|
|
sudo \
|
|
|
|
|
which \
|
|
|
|
|
zlib-devel
|
|
|
|
|
- name: Installing packages to build documentation
|
|
|
|
|
run: |
|
|
|
|
|
dnf -y install \
|
|
|
|
|
python3-sphinx \
|
|
|
|
|
texlive-scheme-full
|
|
|
|
|
- name: Install cbindgen
|
|
|
|
|
run: cargo install --force --debug --version 0.14.1 cbindgen
|
|
|
|
|
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
- uses: actions/download-artifact@v2
|
|
|
|
|
with:
|
|
|
|
|
name: prep
|
|
|
|
|
path: prep
|
|
|
|
|
- run: tar xf prep/libhtp.tar.gz
|
|
|
|
|
- run: ./autogen.sh
|
|
|
|
|
- run: CFLAGS="${DEFAULT_CFLAGS}" ./configure --enable-unittests
|
|
|
|
|
- run: make -j2
|
|
|
|
|
- run: make check
|
|
|
|
|
- run: make dist
|
|
|
|
|
- run: test -e doc/devguide/devguide.pdf
|
|
|
|
|
- run: test -e doc/userguide/userguide.pdf
|
|
|
|
|
- run: make distcheck
|
|
|
|
|
- name: Extracting suricata-verify
|
|
|
|
|
run: tar xf prep/suricata-verify.tar.gz
|
|
|
|
|
- name: Running suricata-verify
|
|
|
|
|
run: python3 ./suricata-verify/run.py
|
|
|
|
|
|
|
|
|
|
ubuntu-20-04:
|
|
|
|
|
name: Ubuntu 20.04 (no nss, no nspr)
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|