diff --git a/.github/workflows/ci.py b/.github/workflows/ci.py index 2ac14383a..d9e8ce771 100644 --- a/.github/workflows/ci.py +++ b/.github/workflows/ci.py @@ -134,10 +134,10 @@ def install_deps() -> None: def build_kitty() -> None: python = shutil.which('python3') if is_bundle else sys.executable cmd = f'{python} setup.py build --verbose' - if is_macos: - cmd += ' --debug' # for better crash report to debug SIGILL issue if os.environ.get('KITTY_SANITIZE') == '1': cmd += ' --debug --sanitize' + elif is_macos: + cmd += ' --debug' # for better crash report to debug SIGILL issue run(cmd)