diff --git a/lgtm.yml b/lgtm.yml index 42fd90584e..296e6e2b78 100644 --- a/lgtm.yml +++ b/lgtm.yml @@ -26,10 +26,10 @@ extraction: - doxygen - graphviz after_prepare: - - git clone https://github.com/Azure/sonic-swss-common; pushd sonic-swss-common; ./autogen.sh; fakeroot dpkg-buildpackage -us -uc -b; popd + - git clone -b 202106 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 --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 + - git clone -b 202106 --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