Skip to content

Commit 147d39f

Browse files
committed
Add LGTM config file
Signed-off-by: Saikrishna Arcot <[email protected]>
1 parent cd2b6eb commit 147d39f

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

lgtm.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
extraction:
2+
cpp:
3+
prepare:
4+
packages:
5+
- "libboost-system-dev"
6+
- "libboost-thread-dev"
7+
- "libevent-dev"
8+
- "libhiredis-dev"
9+
- "libnl-3-dev"
10+
- "libnl-route-3-dev"
11+
- "libnl-nf-3-dev"
12+
- "libnl-genl-3-dev"
13+
- "libgmock-dev"
14+
- "dh-exec"
15+
- "swig3.0"
16+
after_prepare:
17+
- "git clone https://github.com/Azure/sonic-swss-common; pushd sonic-swss-common; ./autogen.sh; fakeroot dpkg-buildpackage -us -uc -b; popd"
18+
- "dpkg-deb -x libswsscommon_1.0.0_amd64.deb $LGTM_WORKSPACE"
19+
- "dpkg-deb -x libswsscommon-dev_1.0.0_amd64.deb $LGTM_WORKSPACE"
20+
index:
21+
build_command:
22+
- "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 commit comments

Comments
 (0)