aboutsummaryrefslogtreecommitdiffhomepage
path: root/dev/ci/ci-ext-lib.sh
blob: cf212c2fb51adef338048684a3e66d6296bdd945 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env bash

ci_dir="$(dirname "$0")"

# This script could be included inside other ones
# Let's avoid to source ci-common twice in this case
if [ -z "${CI_BUILD_DIR}" ];
then
    . "${ci_dir}/ci-common.sh"
fi

ext_lib_CI_DIR="${CI_BUILD_DIR}/ExtLib"

git_checkout "${ext_lib_CI_BRANCH}" "${ext_lib_CI_GITURL}" "${ext_lib_CI_DIR}"

( cd "${ext_lib_CI_DIR}" && make && make install)