-
Notifications
You must be signed in to change notification settings - Fork 104
/
lgtm.yml
23 lines (23 loc) · 1 KB
/
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
path_classifiers:
test:
- "test/*/*"
- "sample/*"
extraction:
cpp:
prepare: # Customizable step used by all languages.
packages:
- g++
configure: # Customizable step used only by C/C++ extraction.
command:
- curl --insecure -L https://github.com/Kitware/CMake/releases/download/v3.20.3/cmake-3.20.3-linux-x86_64.sh -o cmake.sh
- mkdir -p $HOME/.local ; bash cmake.sh --prefix=$HOME/.local --skip-license
- mkdir build_jobs_dir; cd build_jobs_dir; export PATH="$HOME/.local/bin:$PATH"; cmake ..
before_index: # Customizable step used by all languages.
- export LANG=zh_CN.utf-8
- export LC_ALL=zh_CN.utf-8
- export LC_CTYPE=zh_CN.utf-8
- export CXXFLAGS="-D__STDC_WANT_LIB_EXT1__=1"
- export CFLAGS="-D__STDC_WANT_LIB_EXT1__=1"
index: # Customizable step used by all languages.
build_command:
- if [[ -e build_jobs_dir ]]; then cd build_jobs_dir; fi ; export PATH="$HOME/.local/bin:$PATH"; cmake --build . -j