From: Eric Leblond Date: Tue, 19 Nov 2024 20:11:45 +0000 (+0100) Subject: github-actions: add list keywords and app layers X-Git-Tag: suricata-8.0.0-beta1~703 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=138898f5c2b8bada9469b4276dc0636da83c66f3;p=thirdparty%2Fsuricata.git github-actions: add list keywords and app layers Add the 2 command line options to coverage build. --- diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index b5f6786c73..396325912a 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -1514,6 +1514,14 @@ jobs: env: LLVM_PROFILE_FILE: "/tmp/ut.profraw" - run: llvm-profdata-14 merge -o ut.profdata /tmp/ut.profraw + - run: ./src/suricata --list-keywords -l /tmp + env: + LLVM_PROFILE_FILE: "/tmp/lk.profraw" + - run: llvm-profdata-14 merge -o ut.profdata /tmp/lk.profraw + - run: ./src/suricata --list-app-layer-protos -l /tmp + env: + LLVM_PROFILE_FILE: "/tmp/la.profraw" + - run: llvm-profdata-14 merge -o ut.profdata /tmp/la.profraw - run: llvm-cov-14 show ./src/suricata -instr-profile=ut.profdata --show-instantiations --ignore-filename-regex="^/root/.*" > coverage.txt - run: | cd rust