Skip to content

ci: modernize release pipeline#24

Merged
vowstar merged 1 commit into
masterfrom
ci-release-modernize
Jun 1, 2026
Merged

ci: modernize release pipeline#24
vowstar merged 1 commit into
masterfrom
ci-release-modernize

Conversation

@vowstar

@vowstar vowstar commented Jun 1, 2026

Copy link
Copy Markdown
Collaborator

Modernize the tag-triggered release workflow and drop retired runners.

Background: release.yml and release_centos7.yml pinned retired
runners (ubuntu-18.04/20.04, macos-11, windows-2019) and an EOL
centos:7 container. After the PyQt5 to PyQt6 migration (#23) the
centos:7 path can no longer build at all: PyQt6 wheels are
manylinux_2_28 (glibc 2.28) and need Python >= 3.9, while centos:7 is
glibc 2.17 / Python 3.6.

Changes:

  • Delete release_centos7.yml.
  • Rebuild release.yml as three per-OS jobs (no retired runners):
    • linux: almalinux:8 container (glibc 2.28) on ubuntu-latest, the
      oldest base that still installs PyQt6 wheels, so the binary keeps
      maximum compatibility; produces tar.xz + AppImage.
    • macos: macos-15, produces dmg.
    • windows: windows-2022, produces 7z.
  • Upload via softprops/action-gh-release@v2; checkout@v4 / setup-python@v5.
  • Add workflow_dispatch: a manual run builds all three platforms but
    skips the upload (guarded by the tag check), so the pipeline can be
    validated without cutting a real release.

Note: release.yml is tag-triggered, so PR CI does not exercise it.
Validate with a manual workflow_dispatch run on this branch before
merging. Recommended to merge after #23.

@vowstar vowstar force-pushed the ci-release-modernize branch from 22d5da5 to 0e52e17 Compare June 1, 2026 04:47
Drop retired runners and EOL centos:7. Build Linux in an almalinux:8
container (glibc 2.28), the oldest base that still installs PyQt6
wheels; mac on macos-15, windows on windows-2022.

Signed-off-by: Huang Rui <vowstar@gmail.com>
@vowstar vowstar force-pushed the ci-release-modernize branch from 0e52e17 to 15fc276 Compare June 1, 2026 04:51
@vowstar vowstar merged commit 403c67b into master Jun 1, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant