]> git.ipfire.org Git - thirdparty/strongswan.git/blob - .lgtm.yml
charon-nm: Correctly set remote auth class for PSK authentication
[thirdparty/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 after_prepare:
14 - export DEPS_BUILD_DIR=$LGTM_WORKSPACE/deps
15 - mkdir -p $DEPS_BUILD_DIR
16 - export DEPS_PREFIX=$DEPS_BUILD_DIR/usr
17 - mkdir -p $DEPS_PREFIX
18 - export PKG_CONFIG_PATH="$DEPS_PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH"
19 - export LD_LIBRARY_PATH="$DEPS_PREFIX/lib:$LD_LIBRARY_PATH"
20 - mkdir -p $LGTM_WORKSPACE/bin
21 # sudo doesn't work on the build hosts
22 - ln -s /usr/bin/nice $LGTM_WORKSPACE/bin/sudo
23 # for ldconfig we don't have enough permissions
24 - ln -s /bin/true $LGTM_WORKSPACE/bin/ldconfig
25 # likewise for apt-get
26 - ln -s /bin/echo $LGTM_WORKSPACE/bin/apt-get
27 - export PATH=$LGTM_WORKSPACE/bin:$PATH
28 - export TEST=all
29 - ./scripts/test.sh deps
30 - rm $LGTM_WORKSPACE/bin/*
31 configure:
32 command:
33 # follows the "all" build in test.sh (without custom-compiled stuff)
34 - ./autogen.sh
35 - ./configure --enable-all --disable-android-dns --disable-android-log
36 --disable-kernel-pfroute --disable-keychain
37 --disable-lock-profiler --disable-padlock --disable-fuzzing
38 --disable-osx-attr --disable-tkm --disable-uci
39 --disable-soup --disable-unwind-backtraces
40 --disable-svc --disable-dbghelp-backtraces --disable-socket-win
41 --disable-kernel-wfp --disable-kernel-iph --disable-winhttp
42 --disable-af-alg --disable-coverage
43 --disable-python-eggs-install
44 --disable-monolithic --disable-leak-detective