[buildcore] Make CMake configure failure trigger failed return code
Some checks failed
Build / build (push) Has been cancelled

This commit is contained in:
Gary Talent 2023-12-28 23:50:30 -06:00
parent 1df4e78084
commit c79fe3be43

View File

@ -99,7 +99,9 @@ def main() -> int:
if platform.system() == 'Windows':
cmake_cmd.append('-A x64')
subprocess.run(cmake_cmd)
cmake_err = subprocess.run(cmake_cmd).returncode
if cmake_err != 0:
return cmake_err
util.mkdir_p('dist')
if int(args.current_build) != 0: