Skip to content

Commit

Permalink
Update cibuildwheel calls
Browse files Browse the repository at this point in the history
  • Loading branch information
e-koch committed Oct 7, 2023
1 parent f69f061 commit efb85a3
Showing 1 changed file with 8 additions and 20 deletions.
28 changes: 8 additions & 20 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,13 @@ jobs:
matrix:
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
name: Install Python
with:
python-version: '3.11'
- name: Install cibuildwheel
run: |
python -m pip install --upgrade pip
python -m pip install cibuildwheel
- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
uses: pypa/cibuildwheel@v2.16.2
env:
CIBW_BUILD: cp37-manylinux_x86_64 cp38-manylinux_x86_64 cp39-manylinux_x86_64 cp310-manylinux_x86_64 cp311-manylinux_x86_64
CIBW_TEST_EXTRAS: test
Expand All @@ -37,17 +33,13 @@ jobs:
matrix:
os: [macos-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
name: Install Python
with:
python-version: '3.11'
- name: Install cibuildwheel
run: |
python -m pip install --upgrade pip
python -m pip install cibuildwheel
- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
uses: pypa/cibuildwheel@v2.16.2
env:
CIBW_BUILD: cp37-* cp38-* cp39-* cp310-* cp311-*
CIBW_TEST_EXTRAS: test
Expand All @@ -64,19 +56,15 @@ jobs:
matrix:
os: [windows-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
name: Install Python
with:
python-version: '3.11'
- name: Install cibuildwheel
run: |
python -m pip install --upgrade pip
python -m pip install cibuildwheel
- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
uses: pypa/cibuildwheel@v2.16.2
env:
CIBW_BUILD: cp39-* cp310-* cp311-*
CIBW_BUILD: cp39-*win_amd64 cp310-*win_amd64 cp311-*win_amd64
CIBW_TEST_EXTRAS: test
CIBW_TEST_COMMAND: pytest --pyargs turbustat
- uses: actions/upload-artifact@v3
Expand All @@ -87,7 +75,7 @@ jobs:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
name: Install Python
with:
Expand Down

0 comments on commit efb85a3

Please sign in to comment.