Skip to content

Commit

Permalink
Update c-cpp.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chbinousamy authored Dec 17, 2023
1 parent 7b8da74 commit 57d487c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Chain Build Tests Demo

on:
push:
branches: [ "porcupina" ]
branches: [ "porcupin0" ]
pull_request:
branches: [ "porcupina" ]
branches: [ "porcupin0" ]

jobs:
build-chain:
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
-
name: "snort3, the next generation Snort IPS (Intrusion Prevention System)"
run: |
git clone --branch porcupino --recurse-submodules --depth=1 https://github.com/chbinousamy/porcinet.git
git clone --branch porcupin0 --recurse-submodules --depth=1 https://github.com/chbinousamy/porcinet.git
cd porcinet && ./configure_cmake.sh && cd build && make -j 4 && sudo make install && make clean
sudo ln -s /usr/local/snort/lib/pkgconfig/snort.pc /usr/lib/pkgconfig/snort.pc
export LD_LIBRARY_PATH=/usr/local/lib && sudo ldconfig
Expand All @@ -97,6 +97,10 @@ jobs:
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
Expand Down

0 comments on commit 57d487c

Please sign in to comment.