ci: gcc-12 support added

This commit is contained in:
Mateusz Pusz
2023-01-04 20:40:12 +01:00
parent f7cd43da35
commit 48265f0d4e
5 changed files with 57 additions and 31 deletions

View File

@@ -26,7 +26,7 @@ on: [push, pull_request]
jobs:
check:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8

View File

@@ -50,7 +50,7 @@ jobs:
}
- {
name: "Ubuntu GCC-10",
os: ubuntu-20.04,
os: ubuntu-22.04,
compiler:
{
type: GCC,
@@ -63,7 +63,7 @@ jobs:
}
- {
name: "Ubuntu GCC-11",
os: ubuntu-20.04,
os: ubuntu-22.04,
compiler:
{
type: GCC,
@@ -74,9 +74,22 @@ jobs:
},
lib: "libstdc++11",
}
- {
name: "Ubuntu GCC-12",
os: ubuntu-22.04,
compiler:
{
type: GCC,
version: 12,
cc: "gcc-12",
cxx: "g++-12",
std: 20,
},
lib: "libstdc++11",
}
- {
name: "Ubuntu Clang-12 + libstdc++11",
os: ubuntu-20.04,
os: ubuntu-22.04,
compiler:
{
type: CLANG,
@@ -89,7 +102,7 @@ jobs:
}
- {
name: "Ubuntu Clang-12 + libc++",
os: ubuntu-20.04,
os: ubuntu-22.04,
compiler:
{
type: CLANG,
@@ -102,7 +115,7 @@ jobs:
}
- {
name: "Ubuntu Clang-13 + libc++",
os: ubuntu-20.04,
os: ubuntu-22.04,
compiler:
{
type: CLANG,
@@ -115,7 +128,7 @@ jobs:
}
- {
name: "Ubuntu Clang-14 + libc++",
os: ubuntu-20.04,
os: ubuntu-22.04,
compiler:
{
type: CLANG,
@@ -128,7 +141,7 @@ jobs:
}
- {
name: "Ubuntu Clang-15 + libc++",
os: ubuntu-20.04,
os: ubuntu-22.04,
compiler:
{
type: CLANG,
@@ -176,8 +189,8 @@ jobs:
with:
key: ${{ matrix.config.os }}-${{ matrix.config.compiler.type }}-${{ matrix.config.compiler.version }}-${{ matrix.config.lib }}-${{ matrix.build_type }}-${{ matrix.downcast_mode }}
max-size: 50M
- name: Install gcc-11
if: matrix.config.compiler.type == 'GCC' && matrix.config.compiler.version == '11'
- name: Install gcc-12
if: matrix.config.compiler.type == 'GCC' && matrix.config.compiler.version == '12'
shell: bash
run: |
sudo apt install -y g++-${{ matrix.config.compiler.version }}

View File

@@ -54,7 +54,7 @@ jobs:
}
- {
name: "Ubuntu GCC-10",
os: ubuntu-20.04,
os: ubuntu-22.04,
compiler:
{
type: GCC,
@@ -67,7 +67,7 @@ jobs:
}
- {
name: "Ubuntu GCC-11",
os: ubuntu-20.04,
os: ubuntu-22.04,
compiler:
{
type: GCC,
@@ -78,9 +78,22 @@ jobs:
},
lib: "libstdc++11",
}
- {
name: "Ubuntu GCC-12",
os: ubuntu-22.04,
compiler:
{
type: GCC,
version: 12,
cc: "gcc-12",
cxx: "g++-12",
std: 20,
},
lib: "libstdc++11",
}
- {
name: "Ubuntu Clang-12 + libstdc++11",
os: ubuntu-20.04,
os: ubuntu-22.04,
compiler:
{
type: CLANG,
@@ -93,7 +106,7 @@ jobs:
}
- {
name: "Ubuntu Clang-12 + libc++",
os: ubuntu-20.04,
os: ubuntu-22.04,
compiler:
{
type: CLANG,
@@ -106,7 +119,7 @@ jobs:
}
- {
name: "Ubuntu Clang-13 + libc++",
os: ubuntu-20.04,
os: ubuntu-22.04,
compiler:
{
type: CLANG,
@@ -119,7 +132,7 @@ jobs:
}
- {
name: "Ubuntu Clang-14 + libc++",
os: ubuntu-20.04,
os: ubuntu-22.04,
compiler:
{
type: CLANG,
@@ -132,7 +145,7 @@ jobs:
}
- {
name: "Ubuntu Clang-15 + libc++",
os: ubuntu-20.04,
os: ubuntu-22.04,
compiler:
{
type: CLANG,

View File

@@ -25,7 +25,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
env:
CC: gcc-10
CXX: g++-10

View File

@@ -45,7 +45,7 @@ env:
jobs:
docs:
name: Generate documentation
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Cache Conan data