@@ -46,10 +46,62 @@ jobs:
46
46
with :
47
47
platforms : all
48
48
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
51
51
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
+
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
+
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
+
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
+
103
+ env :
104
+ CIBW_BUILD : " cp312-*"
53
105
CIBW_SKIP : " *-musllinux_*"
54
106
CIBW_TEST_SKIP : " cp38-macosx_*:arm64"
55
107
CIBW_ARCHS_LINUX : auto64 aarch64
0 commit comments