Files
autoclip/.github/workflows
周小舟 0735332948 ci: unify desktop builds into one PBS workflow; drop broken build-*.yml
There were 7 desktop-build workflows across two dead packaging routes
(PyInstaller via build_backend.py, and prepare_resources.py), none of which
ever produced a working installable app — they're the red builds in issue #65.

Replace all of them with a single desktop-build.yml that runs the proven
python-build-standalone route (scripts/build_macos_arm.sh): portable Python +
backend source + static ffmpeg/ffprobe → ad-hoc signed .app → DMG. Triggers on
manual dispatch and on v* tags (attaches the DMG to a GitHub Release). Caches
the PBS + ffmpeg downloads and the Rust build.

Removed:
  build-all-platforms.yml, build-cross-platform.yml, build-desktop.yml,
  build-linux.yml, build-universal.yml, build-windows.yml, build-x86-macos.yml

Kept: ci.yml (tests), i18n-sync.yml (docs), nightly-desktop-smoke.yml
(backend smoke via verify_desktop.sh).

Currently macOS arm64 only — the validated target. The script generalizes to
other platforms later (PBS + static ffmpeg exist for them).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-29 14:00:03 +08:00
..