fix: split wheel builds to avoid timeout (#1461) · python-zeroconf/python-zeroconf@be05f0d

Original file line numberDiff line numberDiff line change

@@ -166,6 +166,14 @@ jobs:

166166

strategy:

167167

matrix:

168168

os: [ubuntu-latest, windows-2019, macos-13, macos-latest]

169+

musl: ["", "musllinux"]

170+

exclude:

171+

- os: windows-2019

172+

musl: "musllinux"

173+

- os: macos-13

174+

musl: "musllinux"

175+

- os: macos-latest

176+

musl: "musllinux"

169177
170178

steps:

171179

- uses: actions/checkout@v3

@@ -199,11 +207,23 @@ jobs:

199207

with:

200208

platforms: arm64

201209
202-

- name: Build wheels

203-

uses: pypa/cibuildwheel@v2.21.3

210+

- name: Build wheels (non-musl)

211+

uses: pypa/cibuildwheel@v2.22.0

212+

if: matrix.musl == ''

213+

# to supply options, put them in 'env', like:

214+

env:

215+

CIBW_SKIP: cp36-* cp37-* pp36-* pp37-* pp38-* cp38-* *p39-*_aarch64 *p310-*_aarch64 pp*_aarch64 *musllinux*

216+

CIBW_BEFORE_ALL_LINUX: apt install -y gcc || yum install -y gcc || apk add gcc

217+

CIBW_ARCHS_LINUX: auto aarch64

218+

CIBW_BUILD_VERBOSITY: 3

219+

REQUIRE_CYTHON: 1

220+
221+

- name: Build wheels (musl)

222+

uses: pypa/cibuildwheel@v2.22.0

223+

if: matrix.musl == 'musllinux'

204224

# to supply options, put them in 'env', like:

205225

env:

206-

CIBW_SKIP: cp36-* cp37-* pp36-* pp37-* pp38-* cp38-* *p39-*_aarch64 *p310-*_aarch64 pp*_aarch64 *musllinux*_aarch64

226+

CIBW_SKIP: cp36-* cp37-* pp36-* pp37-* pp38-* cp38-* *p39-*_aarch64 *p310-*_aarch64 pp*_aarch64 *manylinux*

207227

CIBW_BEFORE_ALL_LINUX: apt install -y gcc || yum install -y gcc || apk add gcc

208228

CIBW_ARCHS_LINUX: auto aarch64

209229

CIBW_BUILD_VERBOSITY: 3