File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -236,3 +236,54 @@ jobs:
236236
237237 - name : Run cppcheck
238238 run : make check-static
239+
240+ cppcheck-linux :
241+ name : Static analysis (cppcheck, Linux, debian:sid)
242+ runs-on : ubuntu-latest
243+ container : debian:sid
244+
245+ steps :
246+ - name : Install basic tools
247+ run : |
248+ apt-get update
249+ apt-get install -y git
250+
251+ - uses : actions/checkout@v6
252+ with :
253+ fetch-depth : 0
254+ submodules : true
255+
256+ - name : Ensure submodules are fully initialized (recursive)
257+ run : git submodule update --init --recursive
258+
259+ - name : Install dependencies (v2 style)
260+ run : |
261+ apt-get update
262+ apt-get install -y \
263+ autoconf \
264+ automake \
265+ build-essential \
266+ libtool \
267+ pkg-config \
268+ cppcheck \
269+ libyajl-dev \
270+ libcurl4-openssl-dev \
271+ liblmdb-dev \
272+ liblua5.2-dev \
273+ libmaxminddb-dev \
274+ libpcre2-dev \
275+ libgeoip-dev \
276+ libxml2-dev \
277+ libfuzzy-dev \
278+ pcre2-utils \
279+ bison \
280+ flex
281+
282+ - name : Run build preparation script
283+ run : ./build.sh
284+
285+ - name : Configure project
286+ run : ./configure
287+
288+ - name : Run cppcheck
289+ run : make check-static
You can’t perform that action at this time.
0 commit comments