Skip to content

Commit

Permalink
update python-publish workflow for newer versions of python and OS
Browse files Browse the repository at this point in the history
  • Loading branch information
abelcarreras committed Jul 22, 2024
1 parent 0706a33 commit f82a3a6
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
if: github.ref == 'refs/heads/master'
strategy:
matrix:
os: [ubuntu-20.04, windows-2019, macos-10.15]
os: [ubuntu-latest, windows-2019, macos-13]

steps:
- uses: actions/checkout@v2
Expand All @@ -62,7 +62,7 @@ jobs:
uses: pypa/[email protected]
env:
CIBW_BEFORE_BUILD: pip install numpy==1.19.5
CIBW_BUILD: cp36-* cp37-* cp38-*
CIBW_BUILD: cp38-*

- name: Build wheels
uses: pypa/[email protected]
Expand All @@ -71,6 +71,13 @@ jobs:
CIBW_BUILD: cp39-* cp310-*
CIBW_ARCHS_MACOS: x86_64 universal2

- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_BEFORE_BUILD: pip install numpy setuptools
CIBW_BUILD: cp311-*
CIBW_ARCHS_MACOS: x86_64 universal2

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

0 comments on commit f82a3a6

Please sign in to comment.