-
Notifications
You must be signed in to change notification settings - Fork 533
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Stephen Sun <stephens@nvidia.com>
- Loading branch information
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
path_classifiers: | ||
test: | ||
exclude: tests | ||
extraction: | ||
python: | ||
python_setup: | ||
version: "2" | ||
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 | ||
- doxygen | ||
- graphviz | ||
after_prepare: | ||
- git clone -b 201911 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 | ||
- git clone -b 201911 --recursive https://github.com/Azure/sonic-sairedis; pushd sonic-sairedis; ./autogen.sh; DEB_BUILD_OPTIONS=nocheck SWSS_COMMON_INC="$LGTM_WORKSPACE/usr/include" SWSS_COMMON_LIB="$LGTM_WORKSPACE/usr/lib/x86_64-linux-gnu" fakeroot debian/rules binary-syncd-vs; popd | ||
- dpkg-deb -x libsairedis_1.0.0_amd64.deb $LGTM_WORKSPACE | ||
- dpkg-deb -x libsairedis-dev_1.0.0_amd64.deb $LGTM_WORKSPACE | ||
- dpkg-deb -x libsaimetadata_1.0.0_amd64.deb $LGTM_WORKSPACE | ||
- dpkg-deb -x libsaimetadata-dev_1.0.0_amd64.deb $LGTM_WORKSPACE | ||
- dpkg-deb -x libsaivs_1.0.0_amd64.deb $LGTM_WORKSPACE | ||
- dpkg-deb -x libsaivs-dev_1.0.0_amd64.deb $LGTM_WORKSPACE | ||
configure: | ||
command: | ||
- ./autogen.sh | ||
- ./configure --prefix=/usr --with-extra-inc=$LGTM_WORKSPACE/usr/include --with-extra-lib=$LGTM_WORKSPACE/usr/lib/x86_64-linux-gnu |