forked from sonic-net/sonic-linkmgrd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
lgtm.yml
64 lines (64 loc) · 1.92 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
extraction:
cpp:
prepare:
packages:
- "libxml-simple-perl"
- "aspell"
- "aspell-en"
- "libnl-nf-3-dev"
- "libzmq3-dev"
- "libzmq5"
- "swig3.0"
- "libpython2.7-dev"
- "libgtest-dev"
- "libgmock-dev"
- "dh-exec"
- "doxygen"
- "cdbs"
- "bison"
- "flex"
- "graphviz"
- "autoconf-archive"
- "libzmq3-dev"
- "libzmq5"
- "libgmock-dev"
- "libtbb-dev"
- "libtbb2"
- "libboost-dev"
- "libboost-program-options-dev"
- "libboost-system-dev"
- "libboost-thread-dev"
- "libboost-atomic-dev"
- "libboost-chrono-dev"
- "libboost-container-dev"
- "libboost-context-dev"
- "libboost-contract-dev"
- "libboost-coroutine-dev"
- "libboost-date-time-dev"
- "libboost-fiber-dev"
- "libboost-filesystem-dev"
- "libboost-graph-parallel-dev"
- "libboost-log-dev"
- "libboost-regex-dev"
- "googletest"
- "libgtest-dev"
- "libgcc-8-dev"
- "libhiredis0.14"
- "libhiredis-dev"
- "libnl-3-dev"
- "libnl-route-3-dev"
- "libnl-genl-3-200"
- "libnl-nf-3-200"
- "libnl-genl-3-dev"
- "uuid-dev"
after_prepare:
- "export GNU_MAKE=make"
- "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:
- "sed -i '19 i JOBS := 1' Makefile"
- "sed -i -e \"s/ -flto//g\" Makefile"
- "sed -i '37 i LIBS += $(nullstring)-L${LGTM_WORKSPACE}/usr/lib/x86_64-linux-gnu -I${LGTM_WORKSPACE}/usr/include' Makefile"
- "$GNU_MAKE all INCLUDES=\"-L${LGTM_WORKSPACE}/usr/lib/x86_64-linux-gnu -I${LGTM_WORKSPACE}/usr/include\""