fix(ci): Cache directory
This commit is contained in:
parent
681a4b7935
commit
b521ec737d
@ -1,6 +1,8 @@
|
||||
#!/bin/bash
|
||||
if [ -z "$(ls -A "${DEPS_DIR}/cmake/bin" 2>/dev/null)" ]; then
|
||||
mkdir -p "${DEPS_DIR}/cmake" && travis_retry wget --no-check-certificate -O - "${CMAKE_URL}" | tar --strip-components=1 -xz -C "${DEPS_DIR}/cmake"
|
||||
mkdir -p "${DEPS_DIR}/cmake"
|
||||
cd "${DEPS_DIR}/cmake" || exit 1
|
||||
travis_retry wget --no-check-certificate -O - "${CMAKE_URL}" | tar --strip-components=1 -xz
|
||||
fi
|
||||
|
||||
export PATH="${DEPS_DIR}/cmake/bin:${PATH}"
|
||||
|
@ -1,7 +1,8 @@
|
||||
#!/bin/bash
|
||||
if [ -z "$(ls -A "${DEPS_DIR}/xcb-util-xrm" 2>/dev/null)" ]; then
|
||||
cd "${DEPS_DIR}" || exit 1
|
||||
git clone --recursive https://github.com/Airblader/xcb-util-xrm
|
||||
cd xcb-util-xrm
|
||||
cd xcb-util-xrm || exit 1
|
||||
./autogen.sh --prefix=/usr --libdir=/usr/lib
|
||||
make
|
||||
sudo make install
|
||||
|
Loading…
Reference in New Issue
Block a user