]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
github-actions: add list keywords and app layers
authorEric Leblond <el@stamus-networks.com>
Tue, 19 Nov 2024 20:11:45 +0000 (21:11 +0100)
committerVictor Julien <victor@inliniac.net>
Thu, 21 Nov 2024 05:55:12 +0000 (06:55 +0100)
Add the 2 command line options to coverage build.

.github/workflows/builds.yml

index b5f6786c73b6f9fdb7528d83bb911be715cd7787..396325912ad9c2eb1915f0e60b3fddb9cfa9a19d 100644 (file)
@@ -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