Skip to content

Commit 00c5600

Browse files
Update pyodide.yml
tidy, remove build flags as they are now in setup.py
1 parent 750dd68 commit 00c5600

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/pyodide.yml

+5-6
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,14 @@ jobs:
3434
run: |
3535
git clone https://github.com/emscripten-core/emsdk.git ~/emsdk
3636
cd ~/emsdk && PYODIDE_EMSCRIPTEN_VERSION=$(~/env/bin/pyodide config get emscripten_version)
37-
./emsdk install ${PYODIDE_EMSCRIPTEN_VERSION} && ./emsdk activate ${PYODIDE_EMSCRIPTEN_VERSION}
37+
./emsdk install ${PYODIDE_EMSCRIPTEN_VERSION}
38+
./emsdk activate ${PYODIDE_EMSCRIPTEN_VERSION}
3839
3940
- name: Build Z3
4041
run: |
4142
source ~/emsdk/emsdk_env.sh
4243
cd src/api/python
43-
CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ~/env/bin/pyodide build --exports whole_archive
44-
env:
45-
CFLAGS: "-fexceptions -s DISABLE_EXCEPTION_CATCHING=0"
46-
LDFLAGS: "-fexceptions"
44+
~/env/bin/pyodide build --exports whole_archive
4745
4846
- name: Setup env-pyodide
4947
run: |
@@ -54,4 +52,5 @@ jobs:
5452
- name: Setup z3 wheel
5553
run: |
5654
~/env-pyodide/bin/pip install src/api/python/dist/*.whl
57-
~/env-pyodide/bin/python - <src/api/python/z3test.py z3 && ~/env-pyodide/bin/python - <src/api/python/z3test.py z3num
55+
~/env-pyodide/bin/python - <src/api/python/z3test.py z3
56+
~/env-pyodide/bin/python - <src/api/python/z3test.py z3num

0 commit comments

Comments
 (0)