mirror of
https://github.com/zeromq/cppzmq.git
synced 2025-01-06 00:31:14 +01:00
try downloading and installing last cmake version in travis
This commit is contained in:
parent
cdec9dca0c
commit
be1ca6f960
@ -109,5 +109,4 @@ matrix:
|
|||||||
# Build and check this project
|
# Build and check this project
|
||||||
script:
|
script:
|
||||||
- eval "${MATRIX_EVAL}"
|
- eval "${MATRIX_EVAL}"
|
||||||
- cmake --version
|
|
||||||
- ./ci_build.sh
|
- ./ci_build.sh
|
||||||
|
@ -12,6 +12,13 @@ CPPZMQ=${PWD}/cppzmq-build
|
|||||||
# Travis machines have 2 cores
|
# Travis machines have 2 cores
|
||||||
JOBS=2
|
JOBS=2
|
||||||
|
|
||||||
|
cmake_install() {
|
||||||
|
wget -qO- "https://cmake.org/files/v3.20/cmake-3.20.5-linux-x86_64.tar.gz" \
|
||||||
|
| tar --strip-components=1 -xz -C /tmp/cmake.root
|
||||||
|
export PATH=/tmp/cmake.root/bin:$PATH
|
||||||
|
cmake --version
|
||||||
|
}
|
||||||
|
|
||||||
libzmq_install() {
|
libzmq_install() {
|
||||||
curl -L https://github.com/zeromq/libzmq/archive/v"${ZMQ_VERSION}".tar.gz \
|
curl -L https://github.com/zeromq/libzmq/archive/v"${ZMQ_VERSION}".tar.gz \
|
||||||
>zeromq.tar.gz
|
>zeromq.tar.gz
|
||||||
@ -62,6 +69,8 @@ cppzmq_demo() {
|
|||||||
popd
|
popd
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cmake_install
|
||||||
|
|
||||||
if [ "${ZMQ_VERSION}" != "" ] ; then libzmq_install ; fi
|
if [ "${ZMQ_VERSION}" != "" ] ; then libzmq_install ; fi
|
||||||
|
|
||||||
cppzmq_build
|
cppzmq_build
|
||||||
|
Loading…
Reference in New Issue
Block a user