-
Notifications
You must be signed in to change notification settings - Fork 273
/
lgtm.yml
34 lines (34 loc) · 1000 Bytes
/
lgtm.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
extraction:
cpp:
prepare:
packages:
- libxml-simple-perl
- aspell
- aspell-en
- libhiredis-dev
- libnl-3-dev
- libnl-genl-3-dev
- libnl-route-3-dev
- libnl-nf-3-dev
- swig3.0
- libpython2.7-dev
- libgtest-dev
- dh-exec
- libzmq3-dev
- libzmq5
- autoconf-archive
- libgtest-dev
- libgmock-dev
- uuid
- uuid-dev
- libyang-dev
- libyang
after_prepare:
- ls -l
- 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
configure:
command:
- ./autogen.sh
- ./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