Skip to content

Commit 5c2e399

Browse files
authored
PYTHON-4195 Build x86_64 wheels for MacOS (#1505)
1 parent 4c2e717 commit 5c2e399

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/release-python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- [windows-2019, win32]
3939
python: ["cp37", "cp38", "cp39", "cp310", "cp311", "cp312"]
4040
include:
41-
- buildplat: [macos-11, macosx_x86_64]
41+
- buildplat: [macos-11, macosx_*]
4242
python: "cp37"
4343
- buildplat: [macos-11, macosx_*]
4444
python: "cp38"
@@ -207,7 +207,7 @@ jobs:
207207
- name: Download all the dists
208208
uses: actions/download-artifact@v4
209209
with:
210-
name: all-dist-${{ github.head_ref || github.ref_name }}
210+
name: all-dist-${{ github.job }}
211211
path: dist/
212212
- name: Publish distribution 📦 to PyPI
213213
uses: pypa/gh-action-pypi-publish@release/v1

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,3 +236,6 @@ test-command = "python {project}/tools/fail_if_no_c.py"
236236

237237
[tool.cibuildwheel.linux]
238238
archs = "x86_64 aarch64 ppc64le s390x i686"
239+
240+
[tool.cibuildwheel.macos]
241+
archs = "x86_64 arm64"

0 commit comments

Comments
 (0)