Skip to content

Commit

Permalink
BLD Build wheels on more versions
Browse files Browse the repository at this point in the history
- Upload as artifacts instead of directly to PyPI
- Do not build Linux packages
  • Loading branch information
luispedro committed Mar 23, 2024
1 parent 3e927b4 commit 24e502b
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 77 deletions.
59 changes: 0 additions & 59 deletions .github/workflows/python-package-linux.yml

This file was deleted.

21 changes: 15 additions & 6 deletions .github/workflows/python-package-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,14 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
python-version:
- "3.6"
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"

steps:
- uses: actions/checkout@v2
Expand All @@ -23,10 +30,12 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine numpy
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
- name: Build
run: |
python setup.py bdist_wheel
twine upload dist/*
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: wheels
path: |
dist/*
21 changes: 15 additions & 6 deletions .github/workflows/python-package-win32.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,14 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
python-version:
- "3.6"
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"

steps:
- uses: actions/checkout@v2
Expand All @@ -24,10 +31,12 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine numpy
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
- name: Build
run: |
python setup.py bdist_wheel
twine upload dist/*
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: wheels
path: |
dist/*
21 changes: 15 additions & 6 deletions .github/workflows/python-package-win64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,14 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
python-version:
- "3.6"
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"

steps:
- uses: actions/checkout@v2
Expand All @@ -24,10 +31,12 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine numpy
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
- name: Build
run: |
python setup.py bdist_wheel
twine upload dist/*
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: wheels
path: |
dist/*

0 comments on commit 24e502b

Please sign in to comment.