Skip to content

Commit

Permalink
fix(ci): tweak cibuildwheel a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
dhdaines committed Dec 28, 2023
1 parent c2e0649 commit 1b13693
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build
on:
push:
branches:
master
- master
workflow_dispatch:

jobs:
Expand All @@ -16,7 +16,7 @@ jobs:
- name: Build SDist
run: pipx run build --sdist

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v3
with:
path: dist/*.tar.gz

Expand All @@ -35,6 +35,6 @@ jobs:
uses: pypa/[email protected]

- name: Upload
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,15 @@ build = [
"cp311-*",
"cp312-*",
]
# Build only universal wheels for Mac
# Build only universal wheels for Mac where possible
skip = [
"cp*-macosx_x86_64",
"cp*-macosx_arm64",
]

[tool.cibuildwheel.macos]
archs = ["x86_64", "universal2", "arm64"]

[tool.isort]
profile = "black"

Expand Down

0 comments on commit 1b13693

Please sign in to comment.