Skip to content

Commit

Permalink
cibuildwheel update
Browse files Browse the repository at this point in the history
  • Loading branch information
philkr committed Feb 1, 2025
1 parent 515fc83 commit d0b8efb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, windows-2019, macOS-10.15]
os: [ubuntu-latest, windows-latest, macOS-latest]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

# Used to host cibuildwheel
- uses: actions/setup-python@v2
- uses: actions/setup-python@v5

- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.1.1
run: python -m pip install cibuildwheel

- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
Expand All @@ -29,7 +29,7 @@ jobs:
CIBW_ARCHS_LINUX: "x86_64"
CIBW_ARCHS_WINDOWS: "AMD64"

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl

Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ requires = [
"cmake>=3.12",
]
build-backend = "setuptools.build_meta"

[tool.cibuildwheel]
# Only build on CPython 3.10+
build = ["cp310-*", "cp311-*", "cp312-*"]

0 comments on commit d0b8efb

Please sign in to comment.