CI: Add cibuildwheel GitHub Actions workflow
- Add GitHub Actions based workflow that uses
cibuildwheelto build wheels for target platforms. - Add upload of wheels to PyPI on publish using Trusted Publishers.
This workflow copies heavily from the one @henryiii setup for https://github.com/scikit-hep/boost-histogram.
Addresses following components of Issue https://github.com/pytries/datrie/issues/104:
- setup cibuildwheel to build the full matrix of wheels so users don't have to have a compiler installed
- setup PyPI trusted publisher to automate releases (will require @tacaswell to do this on the PyPI side)
Requires PR https://github.com/pytries/datrie/pull/107 to go in first.
@tacaswell this is ready for review now (thanks for merging PR #107).
👋 Ping @tacaswell.
This would be welcome improvement for us.
I'll sort out the pypi side and merge this in the next week.
I'll sort out the pypi side and merge this in the next week.
@tacaswell sounds good and thanks!
For the last remaining bit after that in Issue #104
setup automatic version number based on tags
I think this can be done similarly to how we're doing things in https://github.com/scikit-hep/scikit-hep-testdata and https://github.com/scikit-hep/boost-histogram, which is just to use purefly dynamic version metadata.