Skip to content

Commit

Permalink
lgtm FEATURE add config file
Browse files Browse the repository at this point in the history
  • Loading branch information
michalvasko committed Jun 3, 2021
1 parent 39a2599 commit f079832
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .lgtm.yml
@@ -0,0 +1,19 @@
extraction:
cpp:
prepare:
packages: libpcre2-dev
after_prepare:
- cd $LGTM_WORKSPACE
- git clone -b devel https://github.com/CESNET/libyang.git
- cd libyang; mkdir build; cd build
- cmake -DCMAKE_INSTALL_PREFIX=$LGTM_WORKSPACE -DENABLE_BUILD_TESTS=OFF ..
- make -j2
- make install
configure:
command:
- mkdir build; cd build
- cmake -DCMAKE_INCLUDE_PATH=$LGTM_WORKSPACE/include -DCMAKE_LIBRARY_PATH=$LGTM_WORKSPACE/lib ..
index:
build_command:
- cd build
- make -j2

0 comments on commit f079832

Please sign in to comment.