Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change: [Actions] Use cibuildwheel for releases #363

Merged
merged 1 commit into from
Feb 15, 2025
Merged

Conversation

glx22
Copy link
Contributor

@glx22 glx22 commented Feb 15, 2025

Old release workflow use RalfG/python-wheels-manylinux-build to build wheels for linux, and python setup.py [sdist] bdist_wheel for macos and windows.
RalfG/python-wheels-manylinux-build is archived in favour of PyPA/cibuildwheel.
There's a lot of copy/paste between the different jobs.

The new workflow using PyPA/cibuildwheel can build wheels for many combinations of OS and python versions:

  • 40 linux wheels (i686, x86_64, manylinux) for python 3.6 to 3.13 and pypy 3.7-3.10
  • 20 linux-arm wheels for python 3.6 to 3.13 and pypy 3.7-3.10
  • 20 windows wheels (win32 and win_amd64) for python 3.6 to 3.13 and pypy 3.7-3.10
  • 12 macos intel wheels for python 3.6 to 3.13 and pypy 3.7-3.10
  • 9 macos arm wheels for python 3.8 to 3.13 and pypy 3.8-3.10

In comparison with the 5 wheels generated by old workflow:

  • 1 win64 for python 3.12
  • 1 macos universal for python 3.12
  • 3 linux x86_64 for python 3.6-3.8

It's a nice bonus for a single job definition.

@glx22 glx22 merged commit 530e325 into OpenTTD:master Feb 15, 2025
21 checks passed
@glx22 glx22 deleted the setup branch February 15, 2025 20:39
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.

2 participants