ci: add support for CentOS 7
refs: #4610
Change-Id: I458ee0c2bbe54722cf5874c8725b8126629a4d98
diff --git a/.jenkins.d/00-deps.sh b/.jenkins.d/00-deps.sh
index 79d65a2..aaa386c 100755
--- a/.jenkins.d/00-deps.sh
+++ b/.jenkins.d/00-deps.sh
@@ -38,3 +38,18 @@
sudo easy_install --upgrade gcovr
fi
fi
+
+if has CentOS $NODE_LABELS; then
+ sudo yum -y install yum-utils pkgconfig \
+ openssl-devel libtranslit-icu \
+ python-devel sqlite-devel \
+ devtoolset-7-libasan-devel \
+ devtoolset-7-liblsan-devel
+ sudo yum -y groupinstall 'Development Tools'
+
+ svn checkout https://github.com/cmscaltech/sandie-ndn/trunk/packaging/RPMS/x86_64
+ sudo rpm -U --force x86_64/boost-license*
+ sudo rpm -U --force x86_64/boost-doc-html*
+ sudo rpm -U --force x86_64/libboost*
+ sudo rpm -U --force x86_64/boost-devel*
+fi
diff --git a/.jenkins.d/10-build.sh b/.jenkins.d/10-build.sh
index 875a908..09b09e3 100755
--- a/.jenkins.d/10-build.sh
+++ b/.jenkins.d/10-build.sh
@@ -8,8 +8,8 @@
sudo rm -f /usr/local/bin/ndnsec*
sudo rm -fr /usr/local/include/ndn-cxx
-sudo rm -f /usr/local/lib/libndn-cxx*
-sudo rm -f /usr/local/lib/pkgconfig/libndn-cxx.pc
+sudo rm -f /usr/local/lib{,64}/libndn-cxx*
+sudo rm -f /usr/local/lib{,64}/pkgconfig/libndn-cxx.pc
if [[ $JOB_NAME == *"code-coverage" ]]; then
COVERAGE="--with-coverage"