Skip to content

Commit

Permalink
Merge pull request #1341 from HaoZeke/wheelCIbuildwheel
Browse files Browse the repository at this point in the history
CI: Use cibuildwheel for getting wheels
  • Loading branch information
HaoZeke authored Sep 11, 2023
2 parents 7f160e6 + e9262b4 commit b8cbf81
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 b8cbf81

Please sign in to comment.