generated from cpp-best-practices/gui_starter_template
-
Notifications
You must be signed in to change notification settings - Fork 8
/
.lgtm.yml
24 lines (24 loc) · 846 Bytes
/
.lgtm.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# for full syntax documentation see: https://lgtm.com/help/lgtm/lgtm.yml-configuration-file
path_classifiers:
test:
- "*/fuzz_test/**/*"
- "*/test/**/*"
extraction:
cpp:
prepare:
packages:
- g++-10 # should be 11 but this is not available
- ccache
script:
- mkdir ~/.conan
- cat /usr/local/share/ca-certificates/semmle-cache-ca/semmle-cache-ca.crt >> ~/.conan/cacert.pem
- python3 -m pip install --upgrade pip setuptools
- python3 -m pip install conan
- python3 -m pip install cmake
- source ~/.profile
configure:
command:
- mkdir build
- CC=/usr/bin/gcc-10 CXX=/usr/bin/g++-10 cmake -D ENABLE_COVERAGE:BOOL=TRUE -S . -B build
index:
build_command: CC=/usr/bin/gcc-10 CXX=/usr/bin/g++-10 cmake --build ./build -- -j2