CI: add lgtm.yml for tweaking lgtm.com analysis

Closes #2414

Bas van Schaik 8 months ago
parent
commit
db122fddf3
1 changed files with 10 additions and 0 deletions
  1. 10 0
      .lgtm.yml

+ 10 - 0
.lgtm.yml

@@ -0,0 +1,10 @@
1
+extraction:
2
+  cpp:
3
+    prepare:
4
+      packages: # to avoid confusion with libopenafs-dev which also provides a des.h
5
+        - libssl-dev
6
+    after_prepare: # make sure lgtm.com doesn't use CMake (which generates and runs tests)
7
+      - rm -f CMakeLists.txt
8
+      - ./buildconf
9
+    configure: # enable as many optional features as possible
10
+      command: ./configure --enable-ares --with-libssh2 --with-gssapi --with-librtmp --with-libmetalink --with-libmetalink