Skip to content

Commit

Permalink
Add gcc 11 to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasbuhr committed Jun 16, 2022
1 parent 988df1d commit 167571d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,18 @@ jobs:
cxx: "g++-10",
cxxver: 20,
}
- {
name: "Linux g++ 11 C++17",
os: ubuntu-20.04,
cxx: "g++-11",
cxxver: 17,
}
- {
name: "Linux g++ 11 C++20",
os: ubuntu-20.04,
cxx: "g++-11",
cxxver: 20,
}
- {
name: "Linux clang-10 C++17",
os: ubuntu-20.04,
Expand Down Expand Up @@ -207,6 +219,15 @@ jobs:
sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa
sudo apt-get install g++-10
- name: Install g++ 11
id: install_gcc_11
if: startsWith(matrix.config.os, 'ubuntu') && ( matrix.config.cxx == 'g++-11' )
shell: bash
working-directory: ${{ env.HOME }}
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa
sudo apt-get install g++-11
- name: Create Build Environment
# Some projects don't allow in-source building, so create a separate build directory
# We'll use this as our working directory for all subsequent commands
Expand Down

0 comments on commit 167571d

Please sign in to comment.