ci: check if gcc-13 is available

This commit is contained in:
Mateusz Pusz
2023-08-26 20:26:56 +02:00
parent 66a37e0f62
commit d42c89e459

View File

@@ -79,6 +79,19 @@ jobs:
}, },
conan-config: "", conan-config: "",
} }
- {
name: "Ubuntu GCC-13",
os: ubuntu-22.04,
compiler:
{
type: GCC,
version: 13,
cc: "gcc-13",
cxx: "g++-13",
std: 20,
},
conan-config: "",
}
- { - {
name: "Ubuntu Clang-16 + libc++", name: "Ubuntu Clang-16 + libc++",
os: ubuntu-22.04, os: ubuntu-22.04,
@@ -137,6 +150,11 @@ jobs:
shell: bash shell: bash
run: | run: |
sudo apt install -y g++-${{ matrix.config.compiler.version }} sudo apt install -y g++-${{ matrix.config.compiler.version }}
- name: Install gcc-13
if: matrix.config.compiler.type == 'GCC' && matrix.config.compiler.version == '13'
shell: bash
run: |
sudo apt install -y g++-${{ matrix.config.compiler.version }}
- name: Install Clang - name: Install Clang
if: matrix.config.compiler.type == 'CLANG' if: matrix.config.compiler.type == 'CLANG'
shell: bash shell: bash