A Python parser for MediaWiki wikicode https://mwparserfromhell.readthedocs.io/
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

69 linhas
1.6 KiB

  1. name: Build
  2. on: [push, pull_request]
  3. jobs:
  4. build-wheels:
  5. name: Build wheels for ${{ matrix.os }}
  6. runs-on: ${{ matrix.runs-on }}
  7. strategy:
  8. matrix:
  9. - os: linux-intel
  10. runs-on: ubuntu-latest
  11. - os: linux-arm
  12. runs-on: ubuntu-24.04-arm
  13. - os: windows-intel
  14. runs-on: windows-latest
  15. - os: macos-intel
  16. runs-on: macos-13
  17. - os: macos-arm
  18. runs-on: macos-latest
  19. steps:
  20. - uses: actions/checkout@v4
  21. with:
  22. fetch-depth: 0
  23. - name: Build wheels
  24. uses: pypa/cibuildwheel@v3.0.0
  25. - uses: actions/upload-artifact@v4
  26. with:
  27. name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
  28. path: ./wheelhouse/*.whl
  29. - name: Coveralls
  30. uses: coverallsapp/github-action@v2
  31. build-sdist:
  32. name: Build source distribution
  33. runs-on: ubuntu-latest
  34. steps:
  35. - uses: actions/checkout@v4
  36. with:
  37. fetch-depth: 0
  38. - name: Build sdist
  39. run: pipx run build --sdist
  40. - uses: actions/upload-artifact@v4
  41. with:
  42. name: cibw-sdist
  43. path: dist/*.tar.gz
  44. upload-pypi:
  45. needs: [build-wheels, build-sdist]
  46. runs-on: ubuntu-latest
  47. environment: pypi
  48. permissions:
  49. id-token: write
  50. if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
  51. steps:
  52. - uses: actions/download-artifact@v4
  53. with:
  54. pattern: cibw-*
  55. path: dist
  56. merge-multiple: true
  57. - uses: pypa/gh-action-pypi-publish@release/v1
  58. with: