-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update python-publish workflow for newer versions of python and OS
- Loading branch information
1 parent
0706a33
commit f82a3a6
Showing
1 changed file
with
9 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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] | ||
|
@@ -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 | ||
|