Update apple-clang job matrix

Specify that `std::format` is supported for Xcode 16.1.
This commit is contained in:
Roth Michaels
2024-12-19 14:07:48 -05:00
parent 43729c6190
commit 7af8f7ecc8

View File

@@ -53,7 +53,9 @@ def make_clang_config(
return Configuration(**vars(ret)) return Configuration(**vars(ret))
def make_apple_clang_config(os: str, version: str) -> Configuration: def make_apple_clang_config(
os: str, version: str, std_format_support: bool
) -> Configuration:
ret = Configuration( ret = Configuration(
name=f"Apple Clang {version}", name=f"Apple Clang {version}",
os=os, os=os,
@@ -64,7 +66,7 @@ def make_apple_clang_config(os: str, version: str) -> Configuration:
cxx="clang++", cxx="clang++",
), ),
cxx_modules=False, cxx_modules=False,
std_format_support=False, std_format_support=std_format_support,
) )
return ret return ret
@@ -95,8 +97,15 @@ 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("macos-13", ver) for ver in ["15.2"]] + [
+ [make_apple_clang_config("macos-14", ver) for ver in ["16.1"]] make_apple_clang_config("macos-13", ver, std_format_support=False)
for ver in ["15.2"]
]
# std::format is available in Xcode 16.1 or later
+ [
make_apple_clang_config("macos-14", ver, std_format_support=True)
for ver in ["16.1"]
]
+ [make_msvc_config(release="14.4", version=194)] + [make_msvc_config(release="14.4", version=194)]
} }