fix(ci): Cache cmake archive
This commit is contained in:
parent
c656ccd701
commit
42a982a4a5
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
if [ -z "$(ls -A "${DEPS_DIR}/cmake/bin" 2>/dev/null)" ]; then
|
||||
mkdir -p cmake && travis_retry wget --no-check-certificate -O - "${CMAKE_URL}" | tar --strip-components=1 -xz -C cmake
|
||||
mkdir -p "${DEPS_DIR}/cmake" && travis_retry wget --no-check-certificate -O - "${CMAKE_URL}" | tar --strip-components=1 -xz -C "${DEPS_DIR}/cmake"
|
||||
fi
|
||||
|
||||
export PATH="${DEPS_DIR}/cmake/bin:${PATH}"
|
||||
|
Loading…
Reference in New Issue
Block a user