mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-05 13:14:29 +02:00
ci: clang-16 support added to CI
This commit is contained in:
13
.github/workflows/ci-conan.yml
vendored
13
.github/workflows/ci-conan.yml
vendored
@@ -149,6 +149,19 @@ jobs:
|
|||||||
},
|
},
|
||||||
lib: "libc++",
|
lib: "libc++",
|
||||||
}
|
}
|
||||||
|
- {
|
||||||
|
name: "Ubuntu Clang-16 + libc++",
|
||||||
|
os: ubuntu-22.04,
|
||||||
|
compiler:
|
||||||
|
{
|
||||||
|
type: CLANG,
|
||||||
|
version: 16,
|
||||||
|
cc: "clang-16",
|
||||||
|
cxx: "clang++-16",
|
||||||
|
std: 20,
|
||||||
|
},
|
||||||
|
lib: "libc++",
|
||||||
|
}
|
||||||
- {
|
- {
|
||||||
name: "MacOS Apple Clang 13",
|
name: "MacOS Apple Clang 13",
|
||||||
os: macos-11,
|
os: macos-11,
|
||||||
|
13
.github/workflows/ci-test-package-cmake.yml
vendored
13
.github/workflows/ci-test-package-cmake.yml
vendored
@@ -153,6 +153,19 @@ jobs:
|
|||||||
},
|
},
|
||||||
lib: "libc++",
|
lib: "libc++",
|
||||||
}
|
}
|
||||||
|
- {
|
||||||
|
name: "Ubuntu Clang-16 + libc++",
|
||||||
|
os: ubuntu-22.04,
|
||||||
|
compiler:
|
||||||
|
{
|
||||||
|
type: CLANG,
|
||||||
|
version: 16,
|
||||||
|
cc: "clang-16",
|
||||||
|
cxx: "clang++-16",
|
||||||
|
std: 20,
|
||||||
|
},
|
||||||
|
lib: "libc++",
|
||||||
|
}
|
||||||
- {
|
- {
|
||||||
name: "MacOS Apple Clang 13",
|
name: "MacOS Apple Clang 13",
|
||||||
os: macos-11,
|
os: macos-11,
|
||||||
|
@@ -146,7 +146,7 @@ class MPUnitsConan(ConanFile):
|
|||||||
str(self._full_compiler_version), min_version
|
str(self._full_compiler_version), min_version
|
||||||
):
|
):
|
||||||
raise ConanInvalidConfiguration(
|
raise ConanInvalidConfiguration(
|
||||||
f"{self.ref} requires at least {compiler} {min_version}"
|
f"{self.ref} requires at least {compiler} {min_version} ({self._full_compiler_version} in use)"
|
||||||
)
|
)
|
||||||
|
|
||||||
def layout(self):
|
def layout(self):
|
||||||
|
Reference in New Issue
Block a user