File tree Expand file tree Collapse file tree 1 file changed +4
-31
lines changed Expand file tree Collapse file tree 1 file changed +4
-31
lines changed Original file line number Diff line number Diff line change @@ -22,39 +22,12 @@ jobs:
22
22
23
23
- uses : actions/setup-python@v5
24
24
with :
25
- python-version : " 3.11 "
25
+ python-version : " 3.12 "
26
26
27
- - name : Install pyodide-build
28
- run : pip install pyodide-build==0.23.4
29
-
30
- - name : Compute emsdk version
31
- id : compute-emsdk-version
32
- run : |
33
- pyodide xbuildenv install --download
34
- EMSCRIPTEN_VERSION=$(pyodide config get emscripten_version)
35
- echo "emsdk-version=$EMSCRIPTEN_VERSION" >> $GITHUB_OUTPUT
36
-
37
- - uses : mymindstorm/setup-emsdk@v14
38
- with :
39
- version : ${{ steps.compute-emsdk-version.outputs.emsdk-version }}
40
- actions-cache-folder : emsdk-cache
41
-
42
- # A future version of pyodide may switch to -fwasm-exceptions
43
- - name : Build
44
- run : CFLAGS=-fexceptions LDFLAGS=-fexceptions pyodide build
27
+
28
+ env :
29
+ CIBW_PLATFORM : pyodide
45
30
46
31
- uses : actions/upload-artifact@v4
47
32
with :
48
33
path : dist/*.whl
49
-
50
- - uses : actions/setup-node@v4
51
- with :
52
- node-version : 18
53
-
54
- - name : Set up Pyodide virtual environment
55
- run : |
56
- pyodide venv .venv-pyodide
57
- .venv-pyodide/bin/pip install $(echo -n dist/*.whl)[test]
58
-
59
- - name : Test
60
- run : .venv-pyodide/bin/pytest
You can’t perform that action at this time.
0 commit comments