Skip to content

Commit

Permalink
[LGTM] fixes #144
Browse files Browse the repository at this point in the history
  • Loading branch information
Raffaello committed May 23, 2020
1 parent 2ead297 commit 1866ae1
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ skip_commits:
- azure-pipelines/*
- LICENSE
- codecov.yml
- lgtm.yml

cache:
- C:\tools\vcpkg\installed
Expand Down
1 change: 1 addition & 0 deletions azure-pipelines/analyzer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ trigger:
- .github/*
- README.md
- appveyor.yml
- lgtm.yml
tags:
include:
- '*'
Expand Down
1 change: 1 addition & 0 deletions azure-pipelines/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ trigger:
- README.md
- appveyor.yml
- codecov.yml
- lgtm.yml
tags:
include:
- '*'
Expand Down
1 change: 1 addition & 0 deletions azure-pipelines/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ trigger:
- README.md
- appveyor.yml
- codecov.yml
- lgtm.yml
tags:
include:
- '*'
Expand Down
1 change: 1 addition & 0 deletions azure-pipelines/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ trigger:
- README.md
- appveyor.yml
- codecov.yml
- lgtm.yml
tags:
include:
- '*'
Expand Down
21 changes: 21 additions & 0 deletions lgtm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#path_classifiers:
# test:
# - "test"
#queries:

extraction:
cpp:
prepare:
- cd $LGTM_WORKSPACE
- git clone https://github.com/Microsoft/vcpkg.git
- cd vcpkg
- ./bootstrap.sh
- ./vcpkg install sdl2 sdl2-image gtest # --triplet ???
configure:
- cd $LGTM_SRC && mkdir build && cd build
# -DVCPKG_TARGET_TRIPLET=${{ parameters.triplet }}
- cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_TOOLCHAIN_FILE=$LGTM_WORKSPACE/vcpkg/scripts/buildsystems/vcpkg.cmake -DWITH_SDL2_STATIC=ON -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON -DBUILD_EXAMPLES=OFF -DBUILD_SNAPSHOT=OFF -DENABLE_CODE_COVERAGE=OFF ..
index:
build_command:
- cd $LGTM_SRC/build
- cmake --build .

0 comments on commit 1866ae1

Please sign in to comment.