Skip to content

Commit

Permalink
Update wheel release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dokempf committed Feb 26, 2025
1 parent 936a1f3 commit 994cb9f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,22 @@ jobs:
strategy:
matrix:
include:
- os: ubuntu-22.04
arch: "x86_64"
- os: windows-2019
arch: "AMD64"
- os: ubuntu-24.04
- os: windows-2022
- os: macos-13
arch: "x86_64"
target: "13.0"
- os: macos-14
target: "14.0"

steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'

- name: Build wheels (arch=${{ matrix.arch }})
- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_ARCHS: "${{ matrix.arch }}"
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.target }}

- run: ls -al ./wheelhouse

Expand All @@ -45,7 +45,7 @@ jobs:

build-sdist:
name: Build source distribution
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v4
Expand All @@ -67,9 +67,9 @@ jobs:
strategy:
matrix:
os:
- ubuntu-22.04
- windows-2019
- macos-13
- ubuntu-24.04
- windows-2022
- macos-14

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:

upload_testpypi:
needs: [build-sdist, test-sdist, build-wheels]
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
id-token: write

Expand All @@ -122,7 +122,7 @@ jobs:

upload_pypi:
needs: [build-sdist, build-wheels, upload_testpypi]
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
id-token: write

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ build-verbosity = 3
# We restrict ourselves to recent Python versions.
# We temporarily skip win32 builds, because lazrs
# does not provide Win32 wheels.
skip = "pp* *p27-* cp38-* *musllinux* *-win32"
skip = "pp* cp38-* *musllinux* *-win32"

# Testing commands for our wheels
test-command = "pytest {package}/tests/python"
Expand Down

0 comments on commit 994cb9f

Please sign in to comment.