- name: Building Rust documentation
run: make doc
working-directory: rust
+ - run: make install
+ - run: suricatasc -h
+ - run: suricata-update -V
- name: Preparing distribution
run: |
mkdir dist
path: prep
- run: tar xf prep/suricata-verify.tar.gz
- run: python3 ./suricata-verify/run.py -q
+ - run: suricata-update -V
+ - run: suricatasc -h
fedora-36:
name: Fedora 36 (debug, clang, asan, wshadow, rust-strict)
name: prep
path: prep
- run: tar xf prep/libhtp.tar.gz
+ - run: tar xf prep/suricata-update.tar.gz
- name: Setup cbindgen
run: |
mkdir -p $HOME/.cargo/bin
- run: test -e /usr/local/lib/libsuricata_rust.a
- run: test -e /usr/local/bin/libsuricata-config
- run: test ! -e /usr/local/lib/libsuricata.so
+ - run: make install
+ - run: suricata-update -V
+ - run: suricatasc -h
fedora-35:
name: Fedora 35 (debug, clang, asan, wshadow, rust-strict)
name: prep
path: prep
- run: tar xf prep/libhtp.tar.gz
+ - run: tar xf prep/suricata-update.tar.gz
- name: Setup cbindgen
run: |
mkdir -p $HOME/.cargo/bin
- run: test -e /usr/local/lib/libsuricata_rust.a
- run: test -e /usr/local/bin/libsuricata-config
- run: test ! -e /usr/local/lib/libsuricata.so
+ - run: make install
+ - run: suricata-update -V
+ - run: suricatasc -h
fedora-35-no-jansson:
name: Fedora 35 (no jansson)
name: prep
path: prep
- run: tar xf prep/libhtp.tar.gz
+ - run: tar xf prep/suricata-update.tar.gz
- name: Setup cbindgen
run: |
mkdir -p $HOME/.cargo/bin
- run: test -e /usr/local/bin/libsuricata-config
- run: test -e /usr/local/lib/libsuricata.so
- run: test -e /usr/local/lib/$(readlink /usr/local/lib/libsuricata.so)
+ - run: suricata-update -V
+ - run: suricatasc -h
ubuntu-20-04-too-old-rust:
name: Ubuntu 20.04 (unsupported rust)
- run: tar xf prep/suricata-verify.tar.gz
- name: Running suricata-verify
run: python3 ./suricata-verify/run.py -q
+ - run: make install
+ - run: suricata-update -V
+ - run: suricatasc -h
debian-9:
name: Debian 9
- run: tar xf prep/suricata-verify.tar.gz
- name: Running suricata-verify
run: python3 ./suricata-verify/run.py -q
+ - run: make install
+ - run: suricata-update -V
+ - run: suricatasc -h
macos-latest:
name: MacOS Latest
name: prep
path: prep
- run: tar xvf prep/libhtp.tar.gz
+ - run: tar xvf prep/suricata-update.tar.gz
- run: ./autogen.sh
- run: CFLAGS="${DEFAULT_CFLAGS}" ./configure --enable-unittests
- run: make -j2
- run: tar xf prep/suricata-verify.tar.gz
- name: Running suricata-verify
run: python3 ./suricata-verify/run.py -q
+ - run: make install
+ - run: suricata-update -V
+ - run: suricatasc -h
windows-msys2-mingw64-npcap:
name: Windows MSYS2 MINGW64 (NPcap)
./src/suricata -u -l /tmp/
# need cwd in path due to npcap dlls (see above)
PATH="$PATH:$(pwd)" python3 ./suricata-verify/run.py -q
+ - run: make install
+ - run: suricata-update -V
windows-msys2-mingw64-libpcap:
name: Windows MSYS2 MINGW64 (libpcap)
./src/suricata --build-info
./src/suricata -u -l /tmp/
python3 ./suricata-verify/run.py -q
+ - run: make install
+ - run: suricata-update -V