Try native ubuntu-24.04-arm #74
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release | |
| on: | |
| push: | |
| branches: | |
| - "ci" | |
| pull_request: | |
| branches: | |
| - "master" | |
| - "ci" | |
| - "[0-9]+.[0-9x]+*" | |
| paths: | |
| - "uvloop/_version.py" | |
| jobs: | |
| build-wheels: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, ubuntu-22.04-arm] | |
| python: | |
| - "cp38" | |
| - "cp39" | |
| - "cp310" | |
| - "cp311" | |
| - "cp312" | |
| - "cp313" | |
| - "cp314" | |
| - "cp314t" | |
| cibw_arch: ["x86_64", "aarch64", "universal2"] | |
| exclude: | |
| - os: ubuntu-latest | |
| cibw_arch: universal2 | |
| - os: ubuntu-latest | |
| cibw_arch: aarch64 | |
| - os: macos-latest | |
| cibw_arch: aarch64 | |
| - os: ubuntu-22.04-arm | |
| cibw_arch: x86_64 | |
| - os: ubuntu-22.04-arm | |
| cibw_arch: universal2 | |
| defaults: | |
| run: | |
| shell: bash | |
| env: | |
| PIP_DISABLE_PIP_VERSION_CHECK: 1 | |
| steps: | |
| - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | |
| with: | |
| fetch-depth: 50 | |
| submodules: true | |
| - name: Install macOS deps | |
| if: startsWith(matrix.os, 'macos') | |
| run: | | |
| brew install gnu-sed libtool autoconf automake | |
| - uses: pypa/cibuildwheel@7c619efba910c04005a835b110b057fc28fd6e93 # v3.2.0 | |
| env: | |
| CIBW_BUILD_VERBOSITY: 1 | |
| CIBW_BUILD: ${{ matrix.python }}-* | |
| CIBW_ARCHS: ${{ matrix.cibw_arch }} | |
| CIBW_TEST_SKIP: "*universal2:arm64" | |
| - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 | |
| with: | |
| name: dist-wheels-${{ matrix.os }}-${{ matrix.python }}-${{ matrix.cibw_arch }} | |
| path: wheelhouse/*.whl |