[buildcore] Make CMake configure failure trigger failed return code
Some checks failed
Build / build (push) Has been cancelled
Some checks failed
Build / build (push) Has been cancelled
This commit is contained in:
parent
1df4e78084
commit
c79fe3be43
4
deps/buildcore/scripts/setup-build.py
vendored
4
deps/buildcore/scripts/setup-build.py
vendored
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user