Skip to content

Commit

Permalink
Add LGTM config file
Browse files Browse the repository at this point in the history
Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
  • Loading branch information
saiarcot895 committed Jun 28, 2022
1 parent 7bb616b commit 5cc0889
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions lgtm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
extraction:
cpp:
prepare:
packages:
- "libboost-system-dev"
- "libboost-thread-dev"
- "libevent-dev"
- "libhiredis-dev"
- "libnl-3-dev"
- "libnl-route-3-dev"
- "libnl-nf-3-dev"
- "libnl-genl-3-dev"
- "libgmock-dev"
- "dh-exec"
- "swig3.0"
after_prepare:
- "git clone https://github.com/Azure/sonic-swss-common; pushd sonic-swss-common; ./autogen.sh; fakeroot dpkg-buildpackage -us -uc -b; popd"
- "dpkg-deb -x libswsscommon_1.0.0_amd64.deb $LGTM_WORKSPACE"
- "dpkg-deb -x libswsscommon-dev_1.0.0_amd64.deb $LGTM_WORKSPACE"
index:
build_command:
- "make all LDFLAGS=\"-L${LGTM_WORKSPACE}/usr/lib/x86_64-linux-gnu\" CPPFLAGS=\"-I${LGTM_WORKSPACE}/usr/include -I${LGTM_WORKSPACE}/usr/include/swss\""

0 comments on commit 5cc0889

Please sign in to comment.