A Python parser for MediaWiki wikicode https://mwparserfromhell.readthedocs.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

48 lines
1.7 KiB

  1. name: Build manylinux1 wheels
  2. on: push
  3. jobs:
  4. build:
  5. runs-on: ubuntu-latest
  6. steps:
  7. - uses: actions/checkout@v2
  8. - name: Build manylinux1 Python wheels
  9. uses: RalfG/python-wheels-manylinux-build@e645ea95dae94f606ab25f95f44d3a2caf55764c
  10. with:
  11. python-versions: 'cp36-cp36m cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310'
  12. pip-wheel-args: '-w ./wheelhouse --no-deps'
  13. - name: Move to dist/
  14. run: |
  15. mkdir -p dist
  16. cp -v wheelhouse/*-manylinux*.whl dist/
  17. - name: Publish package to PyPI
  18. # Only actually publish if a new tag was pushed
  19. if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
  20. uses: pypa/gh-action-pypi-publish@37e305e7413032d8422456179fee28fac7d25187
  21. with:
  22. user: __token__
  23. password: ${{ secrets.pypi_password }}
  24. build_aarch64:
  25. runs-on: ubuntu-latest
  26. steps:
  27. - uses: actions/checkout@v2
  28. - uses: docker/setup-qemu-action@v1
  29. name: Set up QEMU
  30. - name: Build manylinux aarch64 Python wheels
  31. uses: RalfG/python-wheels-manylinux-build@v0.3.4-manylinux2014_aarch64
  32. with:
  33. python-versions: 'cp36-cp36m cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310'
  34. pip-wheel-args: '-w ./wheelhouse --no-deps'
  35. - name: Move to dist/
  36. run: |
  37. mkdir -p dist
  38. cp -v wheelhouse/*-manylinux*.whl dist/
  39. - name: Publish package to PyPI
  40. # Only actually publish if a new tag was pushed
  41. if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
  42. uses: pypa/gh-action-pypi-publish@37e305e7413032d8422456179fee28fac7d25187
  43. with:
  44. user: __token__
  45. password: ${{ secrets.pypi_password }}