Skip to content

Commit 0ad13f5

Browse files
authored
[lgtm]: add lgtm static analysis configuration (sonic-net#589)
Signed-off-by: Guohan Lu <[email protected]>
1 parent c961260 commit 0ad13f5

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

lgtm.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
extraction:
2+
cpp:
3+
prepare:
4+
packages:
5+
- libxml-simple-perl
6+
- aspell
7+
- aspell-en
8+
- libhiredis-dev
9+
- libnl-3-dev
10+
- libnl-genl-3-dev
11+
- libnl-route-3-dev
12+
- libnl-nf-3-dev
13+
- swig3.0
14+
- libpython2.7-dev
15+
- libgtest-dev
16+
- dh-exec
17+
after_prepare:
18+
- ls -l
19+
- git clone https://github.com/Azure/sonic-swss-common; pushd sonic-swss-common; ./autogen.sh; fakeroot dpkg-buildpackage -us -uc -b; popd
20+
- dpkg-deb -x libswsscommon_1.0.0_amd64.deb $LGTM_WORKSPACE
21+
- dpkg-deb -x libswsscommon-dev_1.0.0_amd64.deb $LGTM_WORKSPACE
22+
configure:
23+
command:
24+
- ./autogen.sh
25+
- ./configure --prefix=/usr --with-sai=vs --with-swss-common-inc=$LGTM_WORKSPACE/usr/include --with-swss-common-lib=$LGTM_WORKSPACE/usr/lib/x86_64-linux-gnu

0 commit comments

Comments
 (0)