From 7b4210138487f42a6d2a409626988c8948aaa849 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sun, 14 Apr 2019 00:04:01 +0200 Subject: [PATCH] Use g++-6 on CentOS. --- .drone.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 0654152..8e93d7b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -129,7 +129,10 @@ pipeline: - 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 group install -qy "Development Tools" + - yum install -qy centos-release-scl + - yum install -qy devtoolset-6 + - scl enable devtoolset-6 bash - yum install -qy libcurl-devel doxygen - 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