Skip to content

Commit bcdfe15

Browse files
committed
Azure: Install compiler explicitely
1 parent f6faba0 commit bcdfe15

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.azure-pipelines.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,9 @@ stages:
153153
displayName: Get CCache
154154
- bash: |
155155
set -ex
156-
156+
if ! command -v "$B2_COMPILER" &> /dev/null && [[ "${{item.os}}" == "ubuntu"* ]]; then
157+
sudo apt-get -o Acquire::Retries=$NET_RETRY_COUNT -y -q --no-install-suggests --no-install-recommends install "$B2_COMPILER"
158+
fi
157159
for ((i=1; i <= NET_RETRY_COUNT; i++)); do
158160
git clone --depth 1 --branch master https://github.com/boostorg/boost-ci.git boost-ci-cloned && break || sleep 10
159161
done

0 commit comments

Comments
 (0)