Skip to content

Commit

Permalink
CI: Use cibuildwheel for getting wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoZeke committed Sep 11, 2023
1 parent 7f160e6 commit 582a710
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- run: pip wheel -w ./wheelhouse/ .

- name: Build wheels
uses: pypa/[email protected]
- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl
Expand Down
11 changes: 11 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,14 @@ only_sections = true

[tool.setuptools_scm]
write_to = "asv/_version.py"

[tool.cibuildwheel.linux]
manylinux-x86_64-image = "manylinux2014"
manylinux-aarch64-image = "manylinux2014"
musllinux-x86_64-image = "musllinux_1_1"

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

[tool.cibuildwheel.windows]
archs = ['AMD64']

0 comments on commit 582a710

Please sign in to comment.