-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
89f7ce7
commit 798d927
Showing
5 changed files
with
26 additions
and
24 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
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
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
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 |
---|---|---|
|
@@ -10,12 +10,12 @@ jobs: | |
strategy: | ||
matrix: | ||
runs-on: [windows-latest, ubuntu-latest, macos-latest] | ||
python-version: [3.7, 3.8, 3.9, '3.10', '3.11'] | ||
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] | ||
runs-on: ${{ matrix.runs-on }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/setup-python@v3 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
|
@@ -25,7 +25,7 @@ jobs: | |
python3 -m pip install --upgrade setuptools wheel twine | ||
python3 -m pip install -r requirements.txt | ||
- name: Upload source code | ||
if: matrix.runs-on == 'ubuntu-latest' && matrix.python-version == '3.11' | ||
if: matrix.runs-on == 'ubuntu-latest' && matrix.python-version == '3.12' | ||
env: | ||
TWINE_USERNAME: __token__ | ||
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} | ||
|
@@ -43,16 +43,18 @@ jobs: | |
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} | ||
run: | | ||
python3 -m twine upload dist/*.whl | ||
- name: Build manylinux Python wheels | ||
if: matrix.runs-on == 'ubuntu-latest' && matrix.python-version == '3.11' | ||
uses: RalfG/[email protected]_x86_64 | ||
with: | ||
python-versions: 'cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311' | ||
build-requirements: 'pip cython numpy setuptools wheel twine' | ||
- name: Publish manylinux Python wheels | ||
if: matrix.runs-on == 'ubuntu-latest' && matrix.python-version == '3.11' | ||
- name: Build Linux Python wheels, install cibuildwheel | ||
if: matrix.runs-on == 'ubuntu-latest' && matrix.python-version == '3.12' | ||
run: | | ||
python -m pip install cibuildwheel==2.16.5 | ||
- name: Build Linux Python wheels | ||
if: matrix.runs-on == 'ubuntu-latest' && matrix.python-version == '3.12' | ||
run: | | ||
python -m cibuildwheel --output-dir dist | ||
- name: Publish Linux Python wheels | ||
if: matrix.runs-on == 'ubuntu-latest' && matrix.python-version == '3.12' | ||
env: | ||
TWINE_USERNAME: __token__ | ||
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} | ||
run: | | ||
python3 -m twine upload dist/*-manylinux*.whl | ||
python3 -m twine upload dist/*linux*.whl |
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