diff --git a/_ci-linux-debian.sh b/_ci-linux-debian.sh index bca4c40db..95dbb12f7 100755 --- a/_ci-linux-debian.sh +++ b/_ci-linux-debian.sh @@ -8,9 +8,13 @@ set -o xtrace -o errexit -o nounset; [ -n "${BASH:-}${ZSH_NAME:-}" ] && set -o p cat /etc/*-release -[ -n "${CW_CCSUFFIX:-}" ] || export CW_CCSUFFIX='-16' - extra='' + +if [[ "${CW_CONFIG:-}" != *'gcc'* ]]; then + [ -n "${CW_CCSUFFIX:-}" ] || export CW_CCSUFFIX='-16' + extra="${extra} llvm${CW_CCSUFFIX} clang${CW_CCSUFFIX} lld${CW_CCSUFFIX}" +fi + [[ "${CW_CONFIG:-}" = *'boringssl'* ]] && extra="${extra} golang" if [[ "${CW_CONFIG:-}" = *'win'* ]]; then @@ -50,10 +54,6 @@ elif [[ "${CW_CONFIG:-}" = *'linux'* ]]; then fi fi -if [[ "${CW_CONFIG:-}" != *'gcc'* ]]; then - extra="${extra} llvm${CW_CCSUFFIX} clang${CW_CCSUFFIX} lld${CW_CCSUFFIX}" -fi - apt-get --quiet 2 --option Dpkg::Use-Pty=0 update # shellcheck disable=SC2086 apt-get --quiet 2 --option Dpkg::Use-Pty=0 install \