From 393fb898fce0af5c2c3e1114d4de4d77a9ec3ef4 Mon Sep 17 00:00:00 2001 From: Samy CHBINOU Date: Sun, 17 Dec 2023 21:47:07 +0100 Subject: [PATCH] Update c-cpp.yml --- .github/workflows/c-cpp.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index ce9265d87..352d9a87e 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -91,16 +91,18 @@ jobs: git clone --recurse-submodules --depth=1 https://github.com/chbinousamy/porcinet_extra.git cd porcinet_extra && ./configure_cmake.sh && cd build && make -j 4 && sudo make install && make clean export LD_LIBRARY_PATH=/usr/local/lib && sudo ldconfig + - + name: "Display information about ELF" + run: | + readelf -h /usr/local/snort + strip /usr/local/snort + readelf -h /usr/local/snort - name: "Run Demo Tests" run: | git clone --recurse-submodules --depth=1 https://github.com/chbinousamy/porcinet_demo.git export LD_LIBRARY_PATH=/usr/local/lib && sudo ldconfig cd porcinet_demo && ./run_test.sh /usr/local/snort - - - name: "Need euros" - run: | - git clone https://github.com/openfootball/euro - name: "Run memory leaks tests" run: valgrind --tool=memcheck --leak-check=full --leak-resolution=high --show-reachable=yes /usr/local/snort/bin/snort