Skip to content

Commit

Permalink
Pure python release (#484)
Browse files Browse the repository at this point in the history
  • Loading branch information
tupui authored Apr 22, 2022
1 parent 4f16b1b commit 7b86760
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,8 @@ on:

jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
name: Build wheels
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
Expand All @@ -23,16 +20,12 @@ jobs:
with:
python-version: 3.9

# https://cibuildwheel.readthedocs.io/en/stable/options/#build-skip
- name: Install buildwheels
uses: pypa/[email protected]
env: # minimum version is cpython 3.7
CIBW_BUILD: "cp37-*64 cp38-*64 cp39-* cp310-*"
CIBW_VERBOSITY: 3
- name: Build wheel
run: python setup.py bdist_wheel --universal

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

build_sdist:
name: Build source distribution
Expand Down

0 comments on commit 7b86760

Please sign in to comment.