github-ci: don't build docs in almalinux:8, centos:8

Our docs require a newer version of Sphinx.
pull/9239/head
Jason Ish 2 years ago committed by Victor Julien
parent 500a7abf57
commit f511b176bf

@ -455,44 +455,19 @@ jobs:
pcre2-devel \ pcre2-devel \
pkgconfig \ pkgconfig \
python3-devel \ python3-devel \
python3-sphinx \
python3-yaml \ python3-yaml \
rust-toolset \ rust-toolset \
sudo \ sudo \
which \ which \
zlib-devel zlib-devel
# These packages required to build the PDF.
yum -y install \
texlive-latex \
texlive-cmap \
texlive-collection-latexrecommended \
texlive-fncychap \
texlive-titlesec \
texlive-tabulary \
texlive-framed \
texlive-wrapfig \
texlive-upquote \
texlive-capt-of \
texlive-needspace
#- name: Setup cppclean
# run: |
# git clone --depth 1 --branch suricata https://github.com/catenacyber/cppclean
# cd cppclean
# python3 setup.py install
- name: Configuring - name: Configuring
run: | run: |
./autogen.sh ./autogen.sh
CFLAGS="${DEFAULT_CFLAGS}" ./configure CFLAGS="${DEFAULT_CFLAGS}" ./configure
- run: make -j2 distcheck - run: make -j2 check
env:
DISTCHECK_CONFIGURE_FLAGS: "--enable-unittests --enable-debug --enable-lua --enable-geoip --enable-profiling --enable-profiling-locks --enable-dpdk"
- run: test -e doc/userguide/suricata.1
- name: Checking includes - name: Checking includes
run: | run: |
cppclean src/*.h | grep "does not need to be #included" | python3 scripts/cppclean_check.py cppclean src/*.h | grep "does not need to be #included" | python3 scripts/cppclean_check.py
- name: Building Rust documentation
run: make doc
working-directory: rust
- run: make install - run: make install
- run: suricatasc -h - run: suricatasc -h
- run: suricata-update -V - run: suricata-update -V
@ -640,25 +615,11 @@ jobs:
pcre2-devel \ pcre2-devel \
pkgconfig \ pkgconfig \
python3-devel \ python3-devel \
python3-sphinx \
python3-yaml \ python3-yaml \
rust-toolset \ rust-toolset \
sudo \ sudo \
which \ which \
zlib-devel zlib-devel
# These packages required to build the PDF.
dnf -y install \
texlive-latex \
texlive-cmap \
texlive-collection-latexrecommended \
texlive-fncychap \
texlive-titlesec \
texlive-tabulary \
texlive-framed \
texlive-wrapfig \
texlive-upquote \
texlive-capt-of \
texlive-needspace
- name: Download suricata.tar.gz - name: Download suricata.tar.gz
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with: with:

Loading…
Cancel
Save