mirror of
https://github.com/zeromq/cppzmq.git
synced 2024-12-12 10:33:52 +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
|
||||
script:
|
||||
- eval "${MATRIX_EVAL}"
|
||||
- cmake --version
|
||||
- ./ci_build.sh
|
||||
|
@ -12,6 +12,13 @@ CPPZMQ=${PWD}/cppzmq-build
|
||||
# Travis machines have 2 cores
|
||||
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() {
|
||||
curl -L https://github.com/zeromq/libzmq/archive/v"${ZMQ_VERSION}".tar.gz \
|
||||
>zeromq.tar.gz
|
||||
@ -62,6 +69,8 @@ cppzmq_demo() {
|
||||
popd
|
||||
}
|
||||
|
||||
cmake_install
|
||||
|
||||
if [ "${ZMQ_VERSION}" != "" ] ; then libzmq_install ; fi
|
||||
|
||||
cppzmq_build
|
||||
|
Loading…
Reference in New Issue
Block a user