mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-30 18:37:15 +02:00
Update Xcode versions for apple-clang builds
Since mp-units requires at least Xcode 15 we should have coverage on the latest compilers for operating system versions for macOS 13 (Ventura) and macOS 14 (Sequoia) as those are the operating systems with necessary compilers that our users would be using. Now build with Xcode 15.2 instead of 15.0.1 which last version supported on macOS 13. Add a build for Xcode 15.4 and Xcode 16.1 for testing macOS 14 builds. Since Xcode 16.1 is new most of our clients using macOS 14 would might more likely be using Xcode 15.4. There might not be much C++ changes between Xcode 15.2 and Xcode 15.4 so perhaps we should drop 15.4 if adding three apple-clang builds is not worth the resources.
This commit is contained in:
9
.github/generate-job-matrix.py
vendored
9
.github/generate-job-matrix.py
vendored
@ -53,13 +53,13 @@ def make_clang_config(
|
|||||||
return Configuration(**vars(ret))
|
return Configuration(**vars(ret))
|
||||||
|
|
||||||
|
|
||||||
def make_apple_clang_config(version: int) -> Configuration:
|
def make_apple_clang_config(os: str, version: str) -> Configuration:
|
||||||
ret = Configuration(
|
ret = Configuration(
|
||||||
name=f"Apple Clang {version}",
|
name=f"Apple Clang {version}",
|
||||||
os="macos-13",
|
os=os,
|
||||||
compiler=Compiler(
|
compiler=Compiler(
|
||||||
type="APPLE_CLANG",
|
type="APPLE_CLANG",
|
||||||
version=f"{version}.0",
|
version=version,
|
||||||
cc="clang",
|
cc="clang",
|
||||||
cxx="clang++",
|
cxx="clang++",
|
||||||
),
|
),
|
||||||
@ -95,7 +95,8 @@ configs = {
|
|||||||
# arm64 runners are expensive; only consider one version
|
# arm64 runners are expensive; only consider one version
|
||||||
if ver == 18 or platform != "arm64"
|
if ver == 18 or platform != "arm64"
|
||||||
]
|
]
|
||||||
+ [make_apple_clang_config(ver) for ver in [15]]
|
+ [make_apple_clang_config("macos-13", ver) for ver in ["15.2"]]
|
||||||
|
+ [make_apple_clang_config("macos-14", ver) for ver in ["15.4", "16.1"]]
|
||||||
+ [make_msvc_config(release="14.4", version=194)]
|
+ [make_msvc_config(release="14.4", version=194)]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user