From 8ee6c9401471b402e2e33f4671edcf74af33e20c Mon Sep 17 00:00:00 2001 From: Vladislav Shchapov Date: Sun, 26 May 2024 22:58:26 +0500 Subject: [PATCH] Reintroduce GCC-11 C++20 into CI (#3979) Signed-off-by: Vladislav Shchapov --- .github/workflows/linux.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index d662c91b..3f8a0539 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -30,6 +30,10 @@ jobs: - cxx: g++-10 build_type: Debug std: 17 + - cxx: g++-11 + build_type: Debug + std: 20 + install: sudo apt install g++-11 - cxx: clang++-8 build_type: Debug std: 17 @@ -68,6 +72,11 @@ jobs: # sudo apt-add-repository 'deb http://azure.archive.ubuntu.com/ubuntu/ bionic-updates universe' if: ${{ matrix.cxx == 'g++-4.8' }} + - name: Add repositories for newer GCC + run: | + sudo apt-add-repository ppa:ubuntu-toolchain-r/test + if: ${{ matrix.cxx == 'g++-11' }} + - name: Add ubuntu mirrors run: | # Github Actions caching proxy is at times unreliable