Files
soci/scripts/ci/install.sh
T
Vadim Zeitlin 48c0cd4e9c Rename before_install_*.sh to just install_*.sh
It doesn't make sense to call these scripts "before install" because
they do actually install things themselves.

In fact the whole separation into "install" and "before build" is
probably not very useful, but keep it as long as we keep using Travis CI
at all, as it maps better to its config file keys.

No real changes.
2021-03-19 03:02:41 +01:00

21 lines
599 B
Bash
Executable File

#!/bin/bash
# Run install actions for SOCI build in CI builds
#
# Copyright (c) 2013 Mateusz Loskot <mateusz@loskot.net>
#
source ${SOCI_SOURCE_DIR}/scripts/ci/common.sh
packages_to_install="${SOCI_CI_PACKAGES} libc6-dbg"
if [ "${WITH_BOOST}" != OFF ]; then
packages_to_install="$packages_to_install libboost-dev libboost-date-time-dev"
fi
sudo apt-get update -qq -y
sudo apt-get install -qq -y ${packages_to_install}
install_script="${SOCI_SOURCE_DIR}/scripts/ci/install_${SOCI_CI_BACKEND}.sh"
if [ -x ${install_script} ]; then
echo "Running ${install_script}"
${install_script}
fi