aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominic Hamon <dominic+github@google.com>2024-08-16 11:56:56 +0100
committerDominic Hamon <dominic+github@google.com>2024-08-16 11:56:56 +0100
commitec3dc37b6035aa5431ea60aa1d54fdc5f82ec701 (patch)
treed2e689e727bf3985f65e0750a45376475103448f
parent12235e24652fc7f809373e7c11a5f73c5763fc4c (diff)
downloadgoogle-benchmark-ec3dc37b6035aa5431ea60aa1d54fdc5f82ec701.tar.gz
google-benchmark-ec3dc37b6035aa5431ea60aa1d54fdc5f82ec701.zip
separate wheel versions in an effort to avoid timeouts
-rw-r--r--.github/workflows/wheels.yml58
1 files changed, 55 insertions, 3 deletions
diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml
index 1a00069..83c5bbf 100644
--- a/.github/workflows/wheels.yml
+++ b/.github/workflows/wheels.yml
@@ -46,10 +46,62 @@ jobs:
with:
platforms: all
- - name: Build wheels on ${{ matrix.os }} using cibuildwheel
- uses: pypa/cibuildwheel@v2.17
+ - name: Build 3.8 wheels on ${{ matrix.os }} using cibuildwheel
+ uses: pypa/cibuildwheel@v2.20
env:
- CIBW_BUILD: "cp38-* cp39-* cp310-* cp311-* cp312-*"
+ CIBW_BUILD: "cp38-*"
+ CIBW_SKIP: "*-musllinux_*"
+ CIBW_TEST_SKIP: "cp38-macosx_*:arm64"
+ CIBW_ARCHS_LINUX: auto64 aarch64
+ CIBW_ARCHS_WINDOWS: auto64
+ CIBW_BEFORE_ALL_LINUX: bash .github/install_bazel.sh
+ # Grab the rootless Bazel installation inside the container.
+ CIBW_ENVIRONMENT_LINUX: PATH=$PATH:$HOME/bin
+ CIBW_TEST_COMMAND: python {project}/bindings/python/google_benchmark/example.py
+
+ - name: Build 3.9 wheels on ${{ matrix.os }} using cibuildwheel
+ uses: pypa/cibuildwheel@v2.20
+ env:
+ CIBW_BUILD: "cp39-*"
+ CIBW_SKIP: "*-musllinux_*"
+ CIBW_TEST_SKIP: "cp38-macosx_*:arm64"
+ CIBW_ARCHS_LINUX: auto64 aarch64
+ CIBW_ARCHS_WINDOWS: auto64
+ CIBW_BEFORE_ALL_LINUX: bash .github/install_bazel.sh
+ # Grab the rootless Bazel installation inside the container.
+ CIBW_ENVIRONMENT_LINUX: PATH=$PATH:$HOME/bin
+ CIBW_TEST_COMMAND: python {project}/bindings/python/google_benchmark/example.py
+
+ - name: Build 3.10 wheels on ${{ matrix.os }} using cibuildwheel
+ uses: pypa/cibuildwheel@v2.20
+ env:
+ CIBW_BUILD: "cp310-*"
+ CIBW_SKIP: "*-musllinux_*"
+ CIBW_TEST_SKIP: "cp38-macosx_*:arm64"
+ CIBW_ARCHS_LINUX: auto64 aarch64
+ CIBW_ARCHS_WINDOWS: auto64
+ CIBW_BEFORE_ALL_LINUX: bash .github/install_bazel.sh
+ # Grab the rootless Bazel installation inside the container.
+ CIBW_ENVIRONMENT_LINUX: PATH=$PATH:$HOME/bin
+ CIBW_TEST_COMMAND: python {project}/bindings/python/google_benchmark/example.py
+
+ - name: Build 3.11 wheels on ${{ matrix.os }} using cibuildwheel
+ uses: pypa/cibuildwheel@v2.20
+ env:
+ CIBW_BUILD: "cp311-*"
+ CIBW_SKIP: "*-musllinux_*"
+ CIBW_TEST_SKIP: "cp38-macosx_*:arm64"
+ CIBW_ARCHS_LINUX: auto64 aarch64
+ CIBW_ARCHS_WINDOWS: auto64
+ CIBW_BEFORE_ALL_LINUX: bash .github/install_bazel.sh
+ # Grab the rootless Bazel installation inside the container.
+ CIBW_ENVIRONMENT_LINUX: PATH=$PATH:$HOME/bin
+ CIBW_TEST_COMMAND: python {project}/bindings/python/google_benchmark/example.py
+
+ - name: Build 3.12 wheels on ${{ matrix.os }} using cibuildwheel
+ uses: pypa/cibuildwheel@v2.20
+ env:
+ CIBW_BUILD: "cp312-*"
CIBW_SKIP: "*-musllinux_*"
CIBW_TEST_SKIP: "cp38-macosx_*:arm64"
CIBW_ARCHS_LINUX: auto64 aarch64