Skip to content

Commit ec3dc37

Browse files
committed
separate wheel versions in an effort to avoid timeouts
1 parent 12235e2 commit ec3dc37

File tree

1 file changed

+55
-3
lines changed

1 file changed

+55
-3
lines changed

.github/workflows/wheels.yml

Lines changed: 55 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,62 @@ jobs:
4646
with:
4747
platforms: all
4848

49-
- name: Build wheels on ${{ matrix.os }} using cibuildwheel
50-
uses: pypa/cibuildwheel@v2.17
49+
- name: Build 3.8 wheels on ${{ matrix.os }} using cibuildwheel
50+
uses: pypa/cibuildwheel@v2.20
5151
env:
52-
CIBW_BUILD: "cp38-* cp39-* cp310-* cp311-* cp312-*"
52+
CIBW_BUILD: "cp38-*"
53+
CIBW_SKIP: "*-musllinux_*"
54+
CIBW_TEST_SKIP: "cp38-macosx_*:arm64"
55+
CIBW_ARCHS_LINUX: auto64 aarch64
56+
CIBW_ARCHS_WINDOWS: auto64
57+
CIBW_BEFORE_ALL_LINUX: bash .github/install_bazel.sh
58+
# Grab the rootless Bazel installation inside the container.
59+
CIBW_ENVIRONMENT_LINUX: PATH=$PATH:$HOME/bin
60+
CIBW_TEST_COMMAND: python {project}/bindings/python/google_benchmark/example.py
61+
62+
- name: Build 3.9 wheels on ${{ matrix.os }} using cibuildwheel
63+
uses: pypa/[email protected]
64+
env:
65+
CIBW_BUILD: "cp39-*"
66+
CIBW_SKIP: "*-musllinux_*"
67+
CIBW_TEST_SKIP: "cp38-macosx_*:arm64"
68+
CIBW_ARCHS_LINUX: auto64 aarch64
69+
CIBW_ARCHS_WINDOWS: auto64
70+
CIBW_BEFORE_ALL_LINUX: bash .github/install_bazel.sh
71+
# Grab the rootless Bazel installation inside the container.
72+
CIBW_ENVIRONMENT_LINUX: PATH=$PATH:$HOME/bin
73+
CIBW_TEST_COMMAND: python {project}/bindings/python/google_benchmark/example.py
74+
75+
- name: Build 3.10 wheels on ${{ matrix.os }} using cibuildwheel
76+
uses: pypa/[email protected]
77+
env:
78+
CIBW_BUILD: "cp310-*"
79+
CIBW_SKIP: "*-musllinux_*"
80+
CIBW_TEST_SKIP: "cp38-macosx_*:arm64"
81+
CIBW_ARCHS_LINUX: auto64 aarch64
82+
CIBW_ARCHS_WINDOWS: auto64
83+
CIBW_BEFORE_ALL_LINUX: bash .github/install_bazel.sh
84+
# Grab the rootless Bazel installation inside the container.
85+
CIBW_ENVIRONMENT_LINUX: PATH=$PATH:$HOME/bin
86+
CIBW_TEST_COMMAND: python {project}/bindings/python/google_benchmark/example.py
87+
88+
- name: Build 3.11 wheels on ${{ matrix.os }} using cibuildwheel
89+
uses: pypa/[email protected]
90+
env:
91+
CIBW_BUILD: "cp311-*"
92+
CIBW_SKIP: "*-musllinux_*"
93+
CIBW_TEST_SKIP: "cp38-macosx_*:arm64"
94+
CIBW_ARCHS_LINUX: auto64 aarch64
95+
CIBW_ARCHS_WINDOWS: auto64
96+
CIBW_BEFORE_ALL_LINUX: bash .github/install_bazel.sh
97+
# Grab the rootless Bazel installation inside the container.
98+
CIBW_ENVIRONMENT_LINUX: PATH=$PATH:$HOME/bin
99+
CIBW_TEST_COMMAND: python {project}/bindings/python/google_benchmark/example.py
100+
101+
- name: Build 3.12 wheels on ${{ matrix.os }} using cibuildwheel
102+
uses: pypa/[email protected]
103+
env:
104+
CIBW_BUILD: "cp312-*"
53105
CIBW_SKIP: "*-musllinux_*"
54106
CIBW_TEST_SKIP: "cp38-macosx_*:arm64"
55107
CIBW_ARCHS_LINUX: auto64 aarch64

0 commit comments

Comments
 (0)