mirror of
https://github.com/Z3Prover/z3
synced 2025-04-06 17:44:08 +00:00
Update pyodide.yml
tidy, remove build flags as they are now in setup.py
This commit is contained in:
parent
750dd68a14
commit
00c5600b09
11
.github/workflows/pyodide.yml
vendored
11
.github/workflows/pyodide.yml
vendored
|
@ -34,16 +34,14 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
git clone https://github.com/emscripten-core/emsdk.git ~/emsdk
|
git clone https://github.com/emscripten-core/emsdk.git ~/emsdk
|
||||||
cd ~/emsdk && PYODIDE_EMSCRIPTEN_VERSION=$(~/env/bin/pyodide config get emscripten_version)
|
cd ~/emsdk && PYODIDE_EMSCRIPTEN_VERSION=$(~/env/bin/pyodide config get emscripten_version)
|
||||||
./emsdk install ${PYODIDE_EMSCRIPTEN_VERSION} && ./emsdk activate ${PYODIDE_EMSCRIPTEN_VERSION}
|
./emsdk install ${PYODIDE_EMSCRIPTEN_VERSION}
|
||||||
|
./emsdk activate ${PYODIDE_EMSCRIPTEN_VERSION}
|
||||||
|
|
||||||
- name: Build Z3
|
- name: Build Z3
|
||||||
run: |
|
run: |
|
||||||
source ~/emsdk/emsdk_env.sh
|
source ~/emsdk/emsdk_env.sh
|
||||||
cd src/api/python
|
cd src/api/python
|
||||||
CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ~/env/bin/pyodide build --exports whole_archive
|
~/env/bin/pyodide build --exports whole_archive
|
||||||
env:
|
|
||||||
CFLAGS: "-fexceptions -s DISABLE_EXCEPTION_CATCHING=0"
|
|
||||||
LDFLAGS: "-fexceptions"
|
|
||||||
|
|
||||||
- name: Setup env-pyodide
|
- name: Setup env-pyodide
|
||||||
run: |
|
run: |
|
||||||
|
@ -54,4 +52,5 @@ jobs:
|
||||||
- name: Setup z3 wheel
|
- name: Setup z3 wheel
|
||||||
run: |
|
run: |
|
||||||
~/env-pyodide/bin/pip install src/api/python/dist/*.whl
|
~/env-pyodide/bin/pip install src/api/python/dist/*.whl
|
||||||
~/env-pyodide/bin/python - <src/api/python/z3test.py z3 && ~/env-pyodide/bin/python - <src/api/python/z3test.py z3num
|
~/env-pyodide/bin/python - <src/api/python/z3test.py z3
|
||||||
|
~/env-pyodide/bin/python - <src/api/python/z3test.py z3num
|
||||||
|
|
Loading…
Reference in a new issue