diff --git a/.github/workflows/enscripten.yaml b/.github/workflows/enscripten.yaml index 75e4b57..091d5a4 100644 --- a/.github/workflows/enscripten.yaml +++ b/.github/workflows/enscripten.yaml @@ -31,4 +31,4 @@ jobs: - uses: actions/upload-artifact@v4 with: - path: dist/*.whl + path: wheelhouse/*.whl diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 4754060..cedbfb5 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -63,6 +63,27 @@ jobs: with: path: wheelhouse/*.whl + build-wasm-emscripten: + name: Pyodide + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v4 + with: + submodules: true + fetch-depth: 0 + + - uses: actions/setup-python@v5 + with: + python-version: "3.12" + + - uses: pypa/cibuildwheel@v2.21 + env: + CIBW_PLATFORM: pyodide + CIBW_TEST_SKIP: "*" + + - uses: actions/upload-artifact@v4 + with: + path: wheelhouse/*.whl upload_all: name: Upload if release diff --git a/headers b/headers index 55a8221..13b5b91 160000 --- a/headers +++ b/headers @@ -1 +1 @@ -Subproject commit 55a8221b031b86e28f33c616ebfda68504789ef3 +Subproject commit 13b5b9162c871fdc2fd3f264418fc704667b4bdc diff --git a/pyproject.toml b/pyproject.toml index eceb5f8..6e51fcf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "scikit_build_core.build" [project] name = "naive_svg" -version = "0.0.4" +version = "0.0.5" url = "https://github.com/cubao/pybind11-naive-svg" description="naive svg writer" readme = "README.md"