yams/conan/profiles/host-windows-msvc
trvon 5c890ddc0b
ci: use VS 2026 Windows runners
Signed-off-by: trvon <git@trevon.dev>
2026-06-19 20:11:52 -04:00

24 lines
842 B
Text

{# Default to the VS 2022 / v143 toolset for local compatibility. #}
{# CI jobs running on windows-2025-vs2026 override these values with #}
{# YAMS_CONAN_COMPILER_VERSION=195 and YAMS_MSBUILD_VS_VERSION=18. #}
{% set compiler_version = os.getenv("YAMS_CONAN_COMPILER_VERSION", "194") %}
{% set compiler_version_int = compiler_version | int %}
{% set vs_version = os.getenv("YAMS_MSBUILD_VS_VERSION", "17") %}
[settings]
os=Windows
arch=x86_64
compiler=msvc
# Defaults track the newest supported Windows runner toolset.
# Override locally or in CI with YAMS_CONAN_COMPILER_VERSION / YAMS_MSBUILD_VS_VERSION.
compiler.version={{ compiler_version }}
compiler.runtime=dynamic
compiler.cppstd=20
build_type=Release
[options]
[conf]
tools.cmake.cmaketoolchain:generator=Ninja
tools.microsoft.msbuild:vs_version={{ vs_version }}
[tool_requires]