Skip to content

Commit 4cdc3d6

Browse files
Update pyodide.yml
1 parent 4d0394e commit 4cdc3d6

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/pyodide.yml

+8-2
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)