We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be1ca6f commit b9322bfCopy full SHA for b9322bf
ci_build.sh
@@ -13,9 +13,11 @@ CPPZMQ=${PWD}/cppzmq-build
13
JOBS=2
14
15
cmake_install() {
16
+ local CMAKE_INSTALL_DIR=/tmp/cmake.root
17
+ mkdir -p $CMAKE_INSTALL_DIR
18
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
19
+ | tar --strip-components=1 -xz -C $CMAKE_INSTALL_DIR
20
+ export PATH=$CMAKE_INSTALL_DIR/bin:$PATH
21
cmake --version
22
}
23
0 commit comments