fix: split wheel builds to avoid timeout by bdraco · Pull Request #1461 · python-zeroconf/python-zeroconf
Expand Up
@@ -166,6 +166,14 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-2019, macos-13, macos-latest]
musl: ["", "musllinux"]
exclude:
- os: windows-2019
musl: "musllinux"
- os: macos-13
musl: "musllinux"
- os: macos-latest
musl: "musllinux"
steps: - uses: actions/checkout@v3 Expand Down Expand Up @@ -199,11 +207,23 @@ jobs: with: platforms: arm64
- name: Build wheels uses: pypa/cibuildwheel@v2.21.3 - name: Build wheels (non-musl) uses: pypa/cibuildwheel@v2.22.0 if: matrix.musl == '' # to supply options, put them in 'env', like: env: CIBW_SKIP: cp36-* cp37-* pp36-* pp37-* pp38-* cp38-* *p39-*_aarch64 *p310-*_aarch64 pp*_aarch64 *musllinux* CIBW_BEFORE_ALL_LINUX: apt install -y gcc || yum install -y gcc || apk add gcc CIBW_ARCHS_LINUX: auto aarch64 CIBW_BUILD_VERBOSITY: 3 REQUIRE_CYTHON: 1
- name: Build wheels (musl) uses: pypa/cibuildwheel@v2.22.0 if: matrix.musl == 'musllinux' # to supply options, put them in 'env', like: env: CIBW_SKIP: cp36-* cp37-* pp36-* pp37-* pp38-* cp38-* *p39-*_aarch64 *p310-*_aarch64 pp*_aarch64 *musllinux*_aarch64 CIBW_SKIP: cp36-* cp37-* pp36-* pp37-* pp38-* cp38-* *p39-*_aarch64 *p310-*_aarch64 pp*_aarch64 *manylinux* CIBW_BEFORE_ALL_LINUX: apt install -y gcc || yum install -y gcc || apk add gcc CIBW_ARCHS_LINUX: auto aarch64 CIBW_BUILD_VERBOSITY: 3 Expand Down
steps: - uses: actions/checkout@v3 Expand Down Expand Up @@ -199,11 +207,23 @@ jobs: with: platforms: arm64
- name: Build wheels uses: pypa/cibuildwheel@v2.21.3 - name: Build wheels (non-musl) uses: pypa/cibuildwheel@v2.22.0 if: matrix.musl == '' # to supply options, put them in 'env', like: env: CIBW_SKIP: cp36-* cp37-* pp36-* pp37-* pp38-* cp38-* *p39-*_aarch64 *p310-*_aarch64 pp*_aarch64 *musllinux* CIBW_BEFORE_ALL_LINUX: apt install -y gcc || yum install -y gcc || apk add gcc CIBW_ARCHS_LINUX: auto aarch64 CIBW_BUILD_VERBOSITY: 3 REQUIRE_CYTHON: 1
- name: Build wheels (musl) uses: pypa/cibuildwheel@v2.22.0 if: matrix.musl == 'musllinux' # to supply options, put them in 'env', like: env: CIBW_SKIP: cp36-* cp37-* pp36-* pp37-* pp38-* cp38-* *p39-*_aarch64 *p310-*_aarch64 pp*_aarch64 *musllinux*_aarch64 CIBW_SKIP: cp36-* cp37-* pp36-* pp37-* pp38-* cp38-* *p39-*_aarch64 *p310-*_aarch64 pp*_aarch64 *manylinux* CIBW_BEFORE_ALL_LINUX: apt install -y gcc || yum install -y gcc || apk add gcc CIBW_ARCHS_LINUX: auto aarch64 CIBW_BUILD_VERBOSITY: 3 Expand Down