File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -22,12 +22,18 @@ jobs:
2222 uses : actions/checkout@v4
2323
2424 - name : Configure CMake and build
25- run : |
25+ run : |
2626 sudo apt-get update && sudo apt-get install -y python3-dev python3-pip python3-venv
2727 python3 -m venv ~/env
2828 ~/env/bin/pip install pyodide-build
2929 git clone https://github.com/emscripten-core/emsdk.git ~/emsdk && cd ~/emsdk && PYODIDE_EMSCRIPTEN_VERSION=$(~/env/bin/pyodide config get emscripten_version) && ./emsdk install ${PYODIDE_EMSCRIPTEN_VERSION} && ./emsdk activate ${PYODIDE_EMSCRIPTEN_VERSION}
30+
31+ - name : Setup EMSDK
32+ run : |
3033 source ~/emsdk/emsdk_env.sh && cd src/api/python && ~/env/bin/pyodide build --exports whole_archive
3134 source ~/emsdk/emsdk_emv.sh && ~/env/bin/pyodide venv ~/env-pyodide
35+
36+ - name : Setup z3 wheel
37+ run : |
3238 ~/env-pyodide/bin/pip install z3/src/api/python/dist/*.whl
33- ~/env-pyodide/bin/python - <z3/ src/api/python/z3test.py z3 && ~/env-pyodide/bin/python - <z3/ src/api/python/z3test.py z3num
39+ ~/env-pyodide/bin/python - <src/api/python/z3test.py z3 && ~/env-pyodide/bin/python - <src/api/python/z3test.py z3num
You can’t perform that action at this time.
0 commit comments