Add devtools on self-hosted workflows

This commit is contained in:
Shivam Mathur 2020-12-18 22:40:16 +05:30
parent d74064b67a
commit c5e4d55c3b
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ patch_pdo_oci_config() {
add_dependencies() { add_dependencies() {
if [ "$os" = 'Linux' ]; then if [ "$os" = 'Linux' ]; then
if [ "${runner:?}" = "self-hosted" ]; then if [ "${runner:?}" = "self-hosted" ]; then
${apt_install:?} --no-upgrade --no-install-recommends autoconf automake libaio-dev gcc g++ ${apt_install:?} --no-upgrade --no-install-recommends libaio-dev
fi fi
! [[ ${version:?} =~ $nightly_versions ]] && add_devtools phpize ! [[ ${version:?} =~ $nightly_versions ]] && add_devtools phpize
fi fi

View File

@ -3,7 +3,7 @@ self_hosted_helper() {
if ! command -v apt-fast >/dev/null; then if ! command -v apt-fast >/dev/null; then
sudo ln -sf /usr/bin/apt-get /usr/bin/apt-fast sudo ln -sf /usr/bin/apt-get /usr/bin/apt-fast
fi fi
install_packages curl make software-properties-common unzip install_packages curl make software-properties-common unzip autoconf automake gcc g++
add_ppa add_ppa
} }