From aef3eb3910d6defc43e858df0e50492948be8019 Mon Sep 17 00:00:00 2001 From: Jeff Genovy <29107334+jefgen@users.noreply.github.com> Date: Fri, 14 May 2021 16:28:39 -0700 Subject: [PATCH] ICU-21615 Work-around Azure CI build bot issue on Ubuntu 18.04 --- .ci-builds/.azure-pipelines.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.ci-builds/.azure-pipelines.yml b/.ci-builds/.azure-pipelines.yml index a9b82435587..a9a4ee309d1 100644 --- a/.ci-builds/.azure-pipelines.yml +++ b/.ci-builds/.azure-pipelines.yml @@ -90,6 +90,11 @@ jobs: - checkout: self lfs: true fetchDepth: 10 + # This is to work-around issue: https://github.com/actions/virtual-environments/issues/3376 + # Once the Ubuntu 18.04 build bot image is fixed, we can remove this work-around. + - script: | + sudo apt remove libgcc-11-dev gcc-11 + displayName: Remove GCC 11 (work-around) - script: | export CXXFLAGS="-std=c++14 -Winvalid-constexpr" && cd icu4c/source && ./runConfigureICU --enable-debug --disable-release Linux && make -j2 check displayName: 'Build and Test C++14'