Skip to content

Commit

Permalink
Add gcc 12 to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasbuhr committed Jun 16, 2022
1 parent 167571d commit c95e54a
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 @@ -43,6 +43,18 @@ jobs:
cxx: "g++-11",
cxxver: 20,
}
- {
name: "Linux g++ 12 C++17",
os: ubuntu-20.04,
cxx: "g++-12",
cxxver: 17,
}
- {
name: "Linux g++ 12 C++20",
os: ubuntu-20.04,
cxx: "g++-12",
cxxver: 20,
}
- {
name: "Linux clang-10 C++17",
os: ubuntu-20.04,
Expand Down Expand Up @@ -228,6 +240,15 @@ jobs:
sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa
sudo apt-get install g++-11
- name: Install g++ 12
id: install_gcc_12
if: startsWith(matrix.config.os, 'ubuntu') && ( matrix.config.cxx == 'g++-12' )
shell: bash
working-directory: ${{ env.HOME }}
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa
sudo apt-get install g++-12
- 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 c95e54a

Please sign in to comment.