mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-06 21:54:28 +02:00
ci: gcc-11 support added to CMake Test Package CI
This commit is contained in:
11
.github/workflows/ci-test-package-cmake.yml
vendored
11
.github/workflows/ci-test-package-cmake.yml
vendored
@@ -53,6 +53,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,
|
||||||
@@ -98,6 +104,11 @@ jobs:
|
|||||||
${{ runner.os }}-build-${{ env.cache-name }}-
|
${{ runner.os }}-build-${{ env.cache-name }}-
|
||||||
${{ runner.os }}-build-
|
${{ runner.os }}-build-
|
||||||
${{ runner.os }}-
|
${{ runner.os }}-
|
||||||
|
- 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