Install cmake3 on centos.
the build was successful
Details
the build was successful
Details
This commit is contained in:
parent
179692da93
commit
f797b54880
|
@ -129,13 +129,13 @@ pipeline:
|
||||||
- curl -s -o /var/cache/yum/epel-release-latest-7.noarch.rpm http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
|
- 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
|
- 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 cmake libcurl-devel doxygen
|
- yum install -qy libcurl-devel doxygen
|
||||||
- yum --enablerepo=epel install -qy jsoncpp-devel libcurlpp-devel
|
- yum --enablerepo=epel install -qy cmake3 jsoncpp-devel libcurlpp-devel
|
||||||
- yum install -qy rpm file
|
- yum install -qy rpm file
|
||||||
- rm -rf build && mkdir -p build && cd build
|
- rm -rf build && mkdir -p build && cd build
|
||||||
- cmake -DWITH_EXAMPLES=NO -DWITH_TESTS=NO ..
|
- cmake3 -DWITH_EXAMPLES=NO -DWITH_TESTS=NO ..
|
||||||
- make package
|
- make package
|
||||||
- cmake -DWITH_RPM=YES ..
|
- cmake3 -DWITH_RPM=YES ..
|
||||||
- make package
|
- make package
|
||||||
- cp -v libmastodon-cpp-${DRONE_TAG}-0.x86_64.rpm ..
|
- cp -v libmastodon-cpp-${DRONE_TAG}-0.x86_64.rpm ..
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Reference in New Issue