Skip to content

Commit

Permalink
Add pure python wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
overfl0 committed May 5, 2024
1 parent 6c75b3e commit 6899e8f
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,21 @@ jobs:
name: artifact-source
path: dist/*.tar.gz

make_pure_python:
needs: test
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Make Pure Python wheel
run: SKIP_CYTHON=1 python setup.py bdist_wheel

- uses: actions/upload-artifact@v4
with:
name: artifact-pure-python
path: dist/*.whl

build_wheels:
name: Build wheels on ${{ matrix.os }}
needs: test
Expand Down Expand Up @@ -82,7 +97,7 @@ jobs:

merge_artifacts:
runs-on: ubuntu-latest
needs: [make_sdist, build_wheels]
needs: [make_sdist, make_pure_python, build_wheels]
steps:
- name: Merge Artifacts
uses: actions/upload-artifact/merge@v4
Expand All @@ -91,16 +106,17 @@ jobs:
pattern: artifact-*

# upload_all:
# needs: [ build_wheels, make_sdist ]
# needs: [ merge_artifacts ]
# runs-on: ubuntu-latest
# if: github.event_name == 'release' && github.event.action == 'published'
# steps:
# - uses: actions/download-artifact@v3
# - uses: actions/download-artifact@v4
# with:
# name: artifact
# name: armaclass
# path: dist
#
# - uses: pypa/[email protected]
# with:
# user: __token__
# password: ${{ secrets.pypi_password }}
# repository-url: https://test.pypi.org/legacy/

0 comments on commit 6899e8f

Please sign in to comment.