Bläddra i källkod

Merge branch 'ci/testing' into development

main
offa 7 år sedan
förälder
incheckning
e830d331ac
1 ändrade filer med 10 tillägg och 4 borttagningar
  1. +10
    -4
      script/ci_install.sh

+ 10
- 4
script/ci_install.sh Visa fil

@@ -8,11 +8,17 @@ mkdir -p "${DEPENDENCY_DIR}" && cd "${DEPENDENCY_DIR}"


## Install CMake
if [[ ! -d "$(ls -A ${DEPENDENCY_DIR}/cmake)" ]]; then
CMAKE_URL="https://cmake.org/files/v3.8/cmake-3.8.2-Linux-x86_64.tar.gz"
mkdir -p cmake
wget --no-check-certificate --quiet -O - "${CMAKE_URL}" | tar --strip-components=1 -xz -C cmake
CMAKE_INSTALLER=install-cmake.sh

if [[ ! -f ${CMAKE_INSTALLER} ]]
then
curl -sSL https://cmake.org/files/v3.8/cmake-3.8.2-Linux-x86_64.sh -o ${CMAKE_INSTALLER}
chmod +x ${CMAKE_INSTALLER}
fi

sudo ./${CMAKE_INSTALLER} --prefix=/usr/local --skip-license
cmake --version


cd ${BUILD_DIR}


Laddar…
Avbryt
Spara