Shutdown macOS build VM after building

This commit is contained in:
Kovid Goyal 2022-11-15 11:32:34 +05:30
parent 1958d67847
commit 63d7b2a80b
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -75,11 +75,11 @@ def run_build(args: Any) -> None:
call(cmd, echo=True)
for x in ('64', '32', 'arm64'):
cmd = f'python ../bypy linux --arch {x} program'
run_with_retry(cmd)
call(f'python ../bypy linux --arch {x} shutdown', echo=True)
cmd = 'python ../bypy macos program --sign-installers --notarize'
run_with_retry(cmd)
prefix = f'python ../bypy linux --arch {x} '
run_with_retry(prefix + 'program')
call(prefix + 'shutdown', echo=True)
run_with_retry('python ../bypy macos program --sign-installers --notarize')
call('python ../bypy macos shutdown', echo=True)
call('./setup.py build-static-binaries')