- run: AFL_HARDEN=1 ac_cv_func_realloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes CFLAGS="-fsanitize=address -fno-omit-frame-pointer" CXXFLAGS=$CFLAGS CC=afl-clang-fast CXX=afl-clang-fast++ LDFLAGS="-fsanitize=address" ./configure --enable-fuzztargets --disable-shared
- run: AFL_HARDEN=1 make -j2
- # An Ubuntu 16.04 build using the tarball generated in the CentOS 8
- # build above.
- ubuntu-16-04:
- name: Ubuntu 16.04
- runs-on: ubuntu-latest
- container: ubuntu:16.04
- needs: alma-8
- steps:
- - name: Install dependencies
- run: |
- apt update
- apt -y install \
- build-essential \
- curl \
- libcap-ng-dev \
- libcap-ng0 \
- libevent-dev \
- libhiredis-dev \
- libjansson-dev \
- libmagic-dev \
- libnet1-dev \
- libnetfilter-queue-dev \
- libnetfilter-queue1 \
- libnfnetlink-dev \
- libnfnetlink0 \
- libpcre2-dev \
- libpcap-dev \
- libyaml-0-2 \
- libyaml-dev \
- make \
- python3-yaml \
- zlib1g \
- zlib1g-dev
- - name: Install Rust
- run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain ${RUST_VERSION_MIN} -y
- - run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- - name: Download suricata.tar.gz
- uses: actions/download-artifact@f023be2c48cc18debc3bacd34cb396e0295e2869
- with:
- name: dist
- - name: Extract
- run: tar zxvf suricata-*.tar.gz --strip-components=1
- - name: Configure
- run: CFLAGS="${DEFAULT_CFLAGS}" ./configure
- - name: Build
- run: make -j2
- - name: Testing
- run: make check
- - run: make install
- - run: make install-conf
- - run: make install-rules
-
debian-10:
name: Debian 10
runs-on: ubuntu-latest