Skip to content

Commit 7fa33d5

Browse files
umprayzairween
authored andcommitted
add cppcheck to workflow
1 parent d87b2cc commit 7fa33d5

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/ci.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,3 +137,41 @@ jobs:
137137
run: sudo make install
138138
- name: run regression tests
139139
run: make test-regression
140+
141+
cppcheck:
142+
runs-on: [ubuntu-24.04]
143+
container:
144+
image: debian:sid
145+
steps:
146+
- name: Setup Dependencies
147+
run: |
148+
apt-get update -y -qq
149+
apt-get install -y --no-install-recommends build-essential \
150+
autoconf \
151+
automake \
152+
libtool \
153+
pkg-config \
154+
cppcheck \
155+
apache2-dev \
156+
libpcre2-dev \
157+
libapr1-dev \
158+
libaprutil1-dev \
159+
libxml2-dev \
160+
liblua5.3-dev \
161+
libyajl-dev \
162+
libfuzzy-dev \
163+
ssdeep \
164+
curl \
165+
ca-certificates
166+
- uses: actions/checkout@v4
167+
with:
168+
submodules: false
169+
fetch-depth: 0
170+
- name: configure
171+
run: |
172+
./autogen.sh
173+
./configure --with-apxs=/usr/bin/apxs
174+
- name: cppcheck
175+
run: |
176+
make check-static
177+

0 commit comments

Comments
 (0)