File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -15,23 +15,24 @@ jobs:
15
15
- uses : actions/checkout@v3
16
16
- uses : actions/setup-python@v5
17
17
with :
18
- python-version : ' 3.10 '
18
+ python-version : ' 3.12 '
19
19
- run : pip install pyodide-build
20
20
- shell : bash
21
21
run : |
22
22
echo EMSCRIPTEN_VERSION=$(pyodide config get emscripten_version) >> $GITHUB_ENV
23
23
echo PYTHON_VERSION=$(pyodide config get python_version | cut -d "." -f 1-2) >> $GITHUB_ENV
24
- - uses : mymindstorm/setup-emsdk@v12
24
+ - uses : mymindstorm/setup-emsdk@v14
25
25
with :
26
26
version : ${{ env.EMSCRIPTEN_VERSION }}
27
27
actions-cache-folder : emsdk-cache
28
- - name : Build wheels
29
- uses : PyO3/maturin-action@v1
30
- with :
31
- target : wasm32-unknown-emscripten
32
- args : --release --out dist -i ${{ env.PYTHON_VERSION }}
33
- sccache : ' true'
34
- rust-toolchain : nightly
28
+ - shell : bash
29
+ # rust version is pinned for compatibility with emscripten 3.1.58
30
+ run : |
31
+ pip install maturin
32
+ rustup install nightly-2025-02-01
33
+ rustup default nightly-2025-02-01
34
+ rustup target add wasm32-unknown-emscripten
35
+ maturin build --target wasm32-unknown-emscripten -i 3.12
35
36
- name : Upload wheels
36
37
uses : actions/upload-artifact@v4
37
38
with :
You can’t perform that action at this time.
0 commit comments