Skip to content

Commit 6d16e17

Browse files
committed
Build Pyodide wheel
1 parent 03fbcaa commit 6d16e17

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.github/workflows/python-package.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,25 @@ jobs:
334334
retention-days: 7
335335
compression-level: 0
336336

337+
pyodide:
338+
runs-on: ubuntu-24.04
339+
steps:
340+
- uses: actions/checkout@v4
341+
with:
342+
fetch-depth: ${{ env.git-depth }}
343+
- name: Checkout submodules
344+
run: git submodule update --init --recursive --depth 1
345+
- uses: pypa/cibuildwheel@v3.0.0
346+
env:
347+
CIBW_PLATFORM: pyodide
348+
- name: Archive wheel
349+
uses: actions/upload-artifact@v4
350+
with:
351+
name: wheels-pyodide
352+
path: wheelhouse/*.whl
353+
retention-days: 30
354+
compression-level: 0
355+
337356
publish:
338357
needs: [sdist, build, build-macos, linux-wheels]
339358
runs-on: ubuntu-latest

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,7 @@
350350
"pycall",
351351
"pycparser",
352352
"pyinstaller",
353+
"pyodide",
353354
"pypa",
354355
"PYPI",
355356
"pypiwin",

0 commit comments

Comments
 (0)