pyminizip icon indicating copy to clipboard operation
pyminizip copied to clipboard

Build wheels with GitHub actions

Open andrewleech opened this issue 3 years ago • 1 comments

GitHub actions now makes it easy to auto-build binary wheels!

I've used the fantastic tool & example from here quite successfully for this MR: https://github.com/pypa/cibuildwheel

This can also be extended to auto-upload releases (got tag) to PyPI, see docs & example:

  • https://github.com/pypa/cibuildwheel/blob/main/examples/github-deploy.yml
  • https://cibuildwheel.readthedocs.io/en/stable/deliver-to-pypi/#github-actions

Here's one of the build jobs from my fork: https://github.com/andrewleech/pyminizip/actions/runs/3391731405/jobs/5637174110

And all the built wheels can be downloaded in the artifact zip link at the bottom of: https://github.com/andrewleech/pyminizip/actions/runs/3391731405

andrewleech avatar Nov 04 '22 07:11 andrewleech

Oh wow, whoops, didn't look to see there was already a MR for this :-) #45

andrewleech avatar Nov 06 '22 22:11 andrewleech