ci: Disable assertions on Release builds (#7443)

This commit is contained in:
Michael Legleux
2026-06-17 06:54:55 -07:00
committed by GitHub
parent cb2642be05
commit f07de6c454

View File

@@ -20,8 +20,6 @@ _SANITIZER_SUFFIX: dict[str, str] = {
def get_cmake_args(build_type: str, extra_args: str) -> str:
"""Get the full list of CMake arguments for a config."""
args = _BASE_CMAKE_ARGS.copy()
if build_type == "Release":
args.append("-Dassert=ON")
if extra_args:
args.extend(extra_args.split())
return " ".join(args)