Skip to content

Commit

Permalink
Separate building of source dist and pure python wheel to make sure s…
Browse files Browse the repository at this point in the history
…ource dist includes C extension
  • Loading branch information
tobgu committed Jul 22, 2022
1 parent 169ba5b commit 91ac6c0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
path: ./wheelhouse/*.whl

build_dist:
name: Build source distribution
name: Build source distribution and pure python wheel
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -94,8 +94,11 @@ jobs:
python -m pip install --upgrade pip
pip install build
- name: Build sdist and pure wheel
run: python -m build
- name: Build sdist
run: python -m build --sdist

- name: Build pure wheel
run: python -m build --wheel
env:
PYRSISTENT_SKIP_EXTENSION: yes

Expand Down

0 comments on commit 91ac6c0

Please sign in to comment.