diff options
author | Roman Grundkiewicz <rogrundk@microsoft.com> | 2021-04-09 21:44:11 +0300 |
---|---|---|
committer | Martin Junczys-Dowmunt <Marcin.JunczysDowmunt@microsoft.com> | 2021-04-09 21:44:11 +0300 |
commit | a05124176d8869962b717a3557c383406f8c76f4 (patch) | |
tree | b7b1f1cf7b5d55d94c1b4bef349c8ef991524e22 | |
parent | 6435c6f1ce963c3e4dddef54e6a064d424c55040 (diff) |
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`.
-rw-r--r-- | azure-pipelines.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a32a8288..dfed6ab4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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) |