Skip to content

Commit

Permalink
ci: add pyodide build
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
  • Loading branch information
henryiii committed May 31, 2024
1 parent a2fe2ef commit 0d09ba5
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches:
- main
workflow_dispatch:
pull_request:
paths:
- .github/workflows/release.yml

env:
# Latest Jupyter requires this to acknowledge deprecation
Expand Down Expand Up @@ -66,6 +69,25 @@ jobs:
name: wheel-${{ matrix.py }}-${{ matrix.os }}-${{ matrix.arch }}
path: ./wheelhouse/*.whl

pyodide:
needs: release_check
name: Pyodide
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true

- uses: pypa/cibuildwheel@main
env:
CIBW_PLATFORM: pyodide

- uses: actions/upload-artifact@v4
with:
name: pyodide
path: ./wheelhouse/*.whl


sdist:
needs: release_check
name: source package
Expand All @@ -83,7 +105,7 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: sdist
name: wheel-sdist
path: dist/*.tar.gz

upload:
Expand All @@ -97,7 +119,7 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
pattern: "*"
pattern: "wheel-*"
merge-multiple: true
path: dist

Expand Down

0 comments on commit 0d09ba5

Please sign in to comment.