[WIP] Improve CI.

This commit is contained in:
aouinizied 2022-03-25 22:27:11 +01:00
parent 8a2aee751e
commit b9c2fe6409

View file

@ -72,8 +72,9 @@ class BuildNativeCommand(build_ext):
def run(self):
# Build Dependencies
if os.name != 'posix': # Windows case, no libpcap
subprocess.check_call(["msys2", "-c", """'{}'""".format(str(BUILD_SCRIPT_PATH) + ' --skip-libpcap')],
shell=False)
build_script_command = """'{}'""".format(str(BUILD_SCRIPT_PATH) + ' --skip-libpcap')
print(build_script_command)
subprocess.check_call(["msys2", "-c", build_script_command], shell=False)
else:
subprocess.check_call([str(BUILD_SCRIPT_PATH)])
# Build engine