ci: add support for CentOS 7

refs: #4610

Change-Id: I699bbbe1f59dd3bd0fe23e94de28b44613833ce6
This commit is contained in:
Md Ashiqur Rahman
2018-09-04 17:55:18 +00:00
committed by Davide Pesavento
parent bce3cb528b
commit 922330b1e0
2 changed files with 17 additions and 2 deletions
+15
View File
@@ -32,3 +32,18 @@ if has Ubuntu $NODE_LABELS; then
sudo easy_install --upgrade gcovr
fi
fi
if has CentOS $NODE_LABELS; then
sudo yum -y install yum-utils pkgconfig libpcap-devel \
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
+2 -2
View File
@@ -37,8 +37,8 @@ fi
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
pushd ndn-cxx >/dev/null