Skip to content

Commit

Permalink
feat: produce one macOS wheel with all tags
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <[email protected]>
  • Loading branch information
henryiii committed Mar 20, 2024
1 parent 936a8fe commit 80f4c10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
artifact_suffix: "windows_x86"
use_qemu: false
- os: macos-14
arch: "arm64 universal2 x86_64"
arch: "universal24"
build: ""
artifact_suffix: "macos"
use_qemu: false
Expand Down Expand Up @@ -102,7 +102,6 @@ jobs:
uses: pypa/[email protected]
env:
CIBW_ARCHS: "${{ matrix.arch }}"
CIBW_ARCHS_MACOS: "x86_64 universal2 arm64"
CIBW_BUILD: "cp39-${{ matrix.build }}*"

- uses: actions/upload-artifact@v4
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ dynamic = ["version"]

[tool.scikit-build]
wheel.py-api = "py2.py3"
wheel.expand-macos-universal-tags = true
metadata.version.provider = "scikit_build_core.metadata.setuptools_scm"
sdist.include = ["src/swig/_version.py"]
wheel.install-dir = "swig/data"
Expand Down

0 comments on commit 80f4c10

Please sign in to comment.