File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 arch : x86_64
2020 - runs-on : codspeedhq-arm64-ubuntu-24.04
2121 arch : aarch64
22+ - runs-on : macos-latest
23+ arch : arm64
2224
2325 runs-on : ${{ matrix.platform.runs-on }}
2426 steps :
3436
3537 - uses : actions/upload-artifact@v4
3638 with :
37- name : wheels-${{ matrix.platform.arch }}
39+ name : wheels-${{ matrix.platform.runs-on }}-${{ matrix.platform. arch }}
3840 path : wheelhouse/*.whl
3941
4042 build-py3-none-any :
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ push = false
9898]
9999
100100[tool .cibuildwheel ]
101- build = " cp*manylinux*"
101+ build = " cp*{ manylinux,macosx} *"
102102test-extras = [" build" , " test" , " compat" ]
103103test-command = " pytest -v --ignore={project}/tests/benchmarks {project}/tests"
104104
@@ -108,6 +108,9 @@ manylinux-x86_64-image = "manylinux_2_28"
108108manylinux-aarch64-image = " manylinux_2_28"
109109before-all = " yum -y install valgrind-devel"
110110
111+ [tool .cibuildwheel .macos ]
112+ environment = { PYTEST_CODSPEED_FORCE_EXTENSION_BUILD = " 1" }
113+
111114[tool .mypy ]
112115python_version = " 3.12"
113116
Original file line number Diff line number Diff line change 1818
1919print (f"System: { system } ({ current_arch } )" )
2020
21- IS_EXTENSION_BUILDABLE = system == "Linux" and current_arch in [
22- "x86_64" ,
23- "aarch64" ,
24- ]
21+ IS_EXTENSION_BUILDABLE = (
22+ system == "Linux" and current_arch in ["x86_64" , "aarch64" ]
23+ ) or (system == "Darwin" and current_arch == "arm64" )
2524
2625IS_EXTENSION_REQUIRED = (
2726 os .environ .get ("PYTEST_CODSPEED_FORCE_EXTENSION_BUILD" ) is not None
You can’t perform that action at this time.
0 commit comments