@@ -139,43 +139,6 @@ jobs:
139139 name : wheels-macos-${{ matrix.platform.target }}
140140 path : dist
141141
142- emscripten :
143- runs-on : ${{ matrix.platform.runner }}
144- strategy :
145- matrix :
146- platform :
147- - runner : ubuntu-22.04
148- target : wasm32-unknown-emscripten
149- steps :
150- - uses : actions/checkout@v6
151- - run : pip install pyodide-build
152- - name : Get Emscripten and Python version info
153- shell : bash
154- run : |
155- echo EMSCRIPTEN_VERSION=$(pyodide config get emscripten_version) >> $GITHUB_ENV
156- echo PYTHON_VERSION=$(pyodide config get python_version | cut -d '.' -f 1-2) >> $GITHUB_ENV
157- pip uninstall -y pyodide-build
158- - uses : mymindstorm/setup-emsdk@v14
159- with :
160- version : ${{ env.EMSCRIPTEN_VERSION }}
161- actions-cache-folder : emsdk-cache
162- - uses : actions/setup-python@v6
163- with :
164- python-version : ${{ env.PYTHON_VERSION }}
165- - run : pip install pyodide-build
166- - name : Build wheels
167- uses : PyO3/maturin-action@v1
168- with :
169- target : ${{ matrix.platform.target }}
170- args : --release --out dist -i ${{ env.PYTHON_VERSION }}
171- sccache : ${{ !startsWith(github.ref, 'refs/tags/') }}
172- rust-toolchain : nightly
173- - name : Upload wheels
174- uses : actions/upload-artifact@v6
175- with :
176- name : wasm-wheels
177- path : dist
178-
179142 sdist :
180143 runs-on : ubuntu-latest
181144 steps :
@@ -196,7 +159,7 @@ jobs:
196159 runs-on : ubuntu-latest
197160 environment : publish
198161 if : ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
199- needs : [linux, musllinux, windows, macos, emscripten, sdist]
162+ needs : [linux, musllinux, windows, macos, sdist]
200163 permissions :
201164 # Use to sign the release artifacts
202165 id-token : write
0 commit comments