-
Notifications
You must be signed in to change notification settings - Fork 18
/
lgtm.yml
26 lines (26 loc) · 890 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
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"
- "uuid-dev"
- "libzmq3-dev"
- "libyang"
- "libyang-dev"
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\""