|
|
|
@ -371,6 +371,73 @@ jobs:
|
|
|
|
|
- name: Running suricata-verify
|
|
|
|
|
run: python3 ./suricata-verify/run.py
|
|
|
|
|
|
|
|
|
|
fedora-32-no-jansson:
|
|
|
|
|
name: Fedora 32 (no jansson)
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
container: fedora:32
|
|
|
|
|
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 \
|
|
|
|
|
clang \
|
|
|
|
|
diffutils \
|
|
|
|
|
file-devel \
|
|
|
|
|
gcc \
|
|
|
|
|
gcc-c++ \
|
|
|
|
|
git \
|
|
|
|
|
lua-devel \
|
|
|
|
|
libasan \
|
|
|
|
|
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
|
|
|
|
|
- run: |
|
|
|
|
|
cargo install --debug cbindgen
|
|
|
|
|
echo "::add-path::$HOME/.cargo/bin"
|
|
|
|
|
- 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: |
|
|
|
|
|
if ./configure; then
|
|
|
|
|
echo "error: configure should have failed"
|
|
|
|
|
exit 1
|
|
|
|
|
else
|
|
|
|
|
exit 0
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
fedora-31:
|
|
|
|
|
name: Fedora 31
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|