mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-06 13:44:27 +02:00
ci: do we have gcc-11 onboard?
This commit is contained in:
11
.github/workflows/ci-conan.yml
vendored
11
.github/workflows/ci-conan.yml
vendored
@@ -49,6 +49,12 @@ jobs:
|
|||||||
compiler: { type: GCC, version: 10, cc: "gcc-10", cxx: "g++-10" },
|
compiler: { type: GCC, version: 10, cc: "gcc-10", cxx: "g++-10" },
|
||||||
lib: "libstdc++11"
|
lib: "libstdc++11"
|
||||||
}
|
}
|
||||||
|
- {
|
||||||
|
name: "Ubuntu GCC 11.1.0",
|
||||||
|
os: ubuntu-20.04,
|
||||||
|
compiler: { type: GCC, version: 11, cc: "gcc-11", cxx: "g++-11" },
|
||||||
|
lib: "libstdc++11"
|
||||||
|
}
|
||||||
- {
|
- {
|
||||||
name: "Ubuntu Clang 12.0.0 + libstdc++11",
|
name: "Ubuntu Clang 12.0.0 + libstdc++11",
|
||||||
os: ubuntu-20.04,
|
os: ubuntu-20.04,
|
||||||
@@ -83,6 +89,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
key: ${{ matrix.config.os }}-${{ matrix.config.compiler.type }}-${{ matrix.config.compiler.version }}-${{ matrix.config.lib }}-${{ matrix.build_type }}-${{ matrix.downcast_mode }}
|
key: ${{ matrix.config.os }}-${{ matrix.config.compiler.type }}-${{ matrix.config.compiler.version }}-${{ matrix.config.lib }}-${{ matrix.build_type }}-${{ matrix.downcast_mode }}
|
||||||
max-size: 50M
|
max-size: 50M
|
||||||
|
- name: Install gcc-11
|
||||||
|
if: matrix.config.compiler.type == 'GCC' && matrix.config.compiler.version == '11'
|
||||||
|
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
|
||||||
|
Reference in New Issue
Block a user