|
73 | 73 | name: ${{ matrix.py }}-${{ matrix.platform.wheel_tag }}
|
74 | 74 | path: ./wheelhouse/*.whl
|
75 | 75 |
|
| 76 | + test_abi3_wheels: |
| 77 | + needs: build_wheels |
| 78 | + name: Test with Python ${{ matrix.py }} on ${{ matrix.platform.os }} |
| 79 | + runs-on: ${{ matrix.platform.os }} |
| 80 | + strategy: |
| 81 | + matrix: |
| 82 | + py: [ "3.13" ] |
| 83 | + platform: |
| 84 | + - { arch: x86_64, os: windows-latest, wheel_tag: win_amd64 } |
| 85 | + - { arch: x86_64, os: macos-13, wheel_tag: macosx_x86_64 } |
| 86 | + - { arch: arm64, os: macos-latest, wheel_tag: macosx_arm64 } |
| 87 | + - { arch: x86_64, os: ubuntu-latest, wheel_tag: manylinux_x86_64 } |
| 88 | + - { arch: aarch64, os: ubuntu-24.04-arm, wheel_tag: manylinux_aarch64 } |
| 89 | + steps: |
| 90 | + - uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0 |
| 91 | + with: |
| 92 | + path: artifacts |
| 93 | + merge-multiple: true |
| 94 | + - name: Unpack source distribution |
| 95 | + shell: bash |
| 96 | + run: tar --strip-components 1 -xvf artifacts/*.tar.gz |
| 97 | + - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 |
| 98 | + with: |
| 99 | + python-version: ${{ matrix.py }} |
| 100 | + - name: Install wheel and run tests |
| 101 | + run: | |
| 102 | + python -m pip install --no-index --find-links=artifacts pypcode |
| 103 | + cd tests; python -m unittest discover -v . |
| 104 | +
|
76 | 105 | build_docs:
|
77 | 106 | name: Build docs
|
78 | 107 | runs-on: ubuntu-latest
|
|
87 | 116 |
|
88 | 117 | upload_pypi:
|
89 | 118 | name: Upload wheels to PyPI
|
90 |
| - needs: [lint, build_docs, build_sdist, build_wheels] |
| 119 | + needs: [lint, build_docs, build_sdist, build_wheels, test_abi3_wheels] |
91 | 120 | environment:
|
92 | 121 | name: pypi
|
93 | 122 | url: https://pypi.org/p/pypcode
|
|
0 commit comments