Merged PR 18531: Install GCC in Azure pipelines

This fixes Azure pipelines after recent changes in Azure-hosted runners removing GCC 8 and older on some Ubuntu images. GCC is now installed explicitly via `apt-get`.
This commit is contained in:
Roman Grundkiewicz 2021-04-09 18:44:11 +00:00 committed by Martin Junczys-Dowmunt
parent 6435c6f1ce
commit a05124176d

View File

@ -235,11 +235,11 @@ stages:
# The following packages are already installed on Azure-hosted runners: build-essential openssl libssl-dev
# No need to install libprotobuf{17,10,9v5} on Ubuntu {20,18,16}.04 because it is installed together with libprotobuf-dev
- bash: sudo apt-get install -y libgoogle-perftools-dev libprotobuf-dev protobuf-compiler
# GCC 8 and lower are no longer pre-installed
- bash: sudo apt-get install -y libgoogle-perftools-dev libprotobuf-dev protobuf-compiler gcc-$(gcc) g++-$(gcc)
displayName: Install packages
# Boost is no longer pre-installed on Azure/GitHub-hosted runners
# TODO: check which Boost components are really needed and update the list
- bash: sudo apt-get install -y libboost-system-dev
displayName: Install Boost
condition: eq(variables.boost, true)