From 4c7074cff98c39bed205651b495f335be49e5bc8 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sat, 13 Apr 2019 23:26:10 +0200 Subject: [PATCH] CI: Install curlpp from CentOS 6. --- .drone.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index ad83a58..0654152 100644 --- a/.drone.yml +++ b/.drone.yml @@ -126,12 +126,15 @@ pipeline: - LANG=C.utf8 - CXXFLAGS=-pipe -O2 commands: + - sed -i 's/keepcache=0/keepcache=1/' /etc/yum.conf - curl -s -o /var/cache/yum/epel-release-latest-7.noarch.rpm http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm - rpm -i /var/cache/yum/epel-release-latest-7.noarch.rpm - yum group install -qy "Development Tools" - yum install -qy libcurl-devel doxygen - - yum --enablerepo=epel install -qy cmake3 jsoncpp-devel libcurlpp-devel - - yum install -qy rpm file + - yum --enablerepo=epel install -qy cmake3 jsoncpp-devel + - curl -s -o /var/cache/yum/curlpp-devel-0.7.3-5.el6.x86_64.rpm https://ftp.wrz.de/pub/fedora-epel/6/x86_64/Packages/c/curlpp-devel-0.7.3-5.el6.x86_64.rpm + - curl -s -o /var/cache/yum/curlpp-0.7.3-5.el6.x86_64.rpm https://ftp.wrz.de/pub/fedora-epel/6/x86_64/Packages/c/curlpp-0.7.3-5.el6.x86_64.rpm + - yum localinstall -qy /var/cache/yum/curlpp-* - rm -rf build && mkdir -p build && cd build - cmake3 -DWITH_EXAMPLES=NO -DWITH_TESTS=NO .. - make package