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