Version bump to 5.9.4dr2
[strongswan.git] / .lgtm.yml
1 queries:
2   - exclude: cpp/fixme-comment
3   # this rule produces too many false positives due to our custom specifiers and
4   # the use of void pointers in swanctl
5   - exclude: cpp/wrong-type-format-argument
6
7 extraction:
8   cpp:
9     prepare:
10       packages:
11         # for tss2
12         - libssl-dev
13         - libjson-c-dev
14         - libcurl4-openssl-dev
15     after_prepare:
16       - export DEPS_BUILD_DIR=$LGTM_WORKSPACE/deps
17       - mkdir -p $DEPS_BUILD_DIR
18       - export DEPS_PREFIX=$DEPS_BUILD_DIR/usr
19       - mkdir -p $DEPS_PREFIX
20       - export PKG_CONFIG_PATH="$DEPS_PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH"
21       - export LD_LIBRARY_PATH="$DEPS_PREFIX/lib:$LD_LIBRARY_PATH"
22       - mkdir -p $LGTM_WORKSPACE/bin
23       # sudo doesn't work on the build hosts
24       - ln -s /usr/bin/nice $LGTM_WORKSPACE/bin/sudo
25       # for ldconfig we don't have enough permissions
26       - ln -s /bin/true $LGTM_WORKSPACE/bin/ldconfig
27       # likewise for apt-get
28       - ln -s /bin/echo $LGTM_WORKSPACE/bin/apt-get
29       - export PATH=$LGTM_WORKSPACE/bin:$PATH
30       - export TEST=all
31       - ./scripts/test.sh build-deps
32       - rm $LGTM_WORKSPACE/bin/*
33     configure:
34       command:
35         # follows the "all" build in test.sh (without custom-compiled stuff)
36         - ./autogen.sh
37         - ./configure --enable-all --disable-android-dns --disable-android-log
38             --disable-kernel-pfroute --disable-keychain
39             --disable-lock-profiler --disable-padlock --disable-fuzzing
40             --disable-osx-attr --disable-tkm --disable-uci
41             --disable-unwind-backtraces
42             --disable-svc --disable-dbghelp-backtraces --disable-socket-win
43             --disable-kernel-wfp --disable-kernel-iph --disable-winhttp
44             --disable-af-alg --disable-coverage
45             --disable-python-eggs-install
46             --disable-monolithic --disable-leak-detective