File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -22,12 +22,18 @@ jobs:
22
22
uses : actions/checkout@v4
23
23
24
24
- name : Configure CMake and build
25
- run : |
25
+ run : |
26
26
sudo apt-get update && sudo apt-get install -y python3-dev python3-pip python3-venv
27
27
python3 -m venv ~/env
28
28
~/env/bin/pip install pyodide-build
29
29
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 : |
30
33
source ~/emsdk/emsdk_env.sh && cd src/api/python && ~/env/bin/pyodide build --exports whole_archive
31
34
source ~/emsdk/emsdk_emv.sh && ~/env/bin/pyodide venv ~/env-pyodide
35
+
36
+ - name : Setup z3 wheel
37
+ run : |
32
38
~/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