mirror of
https://github.com/Z3Prover/z3
synced 2025-12-30 15:59:52 +00:00
Fix docs.yml: Build native Z3 Python bindings before WASM to avoid library conflicts
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
parent
f6936f7c22
commit
dec12aa500
1 changed files with 10 additions and 1 deletions
11
.github/workflows/docs.yml
vendored
11
.github/workflows/docs.yml
vendored
|
|
@ -33,7 +33,16 @@ jobs:
|
|||
- name: Install system dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y doxygen graphviz python3
|
||||
sudo apt-get install -y doxygen graphviz python3 python3-pip
|
||||
|
||||
- name: Build Z3 natively for Python documentation
|
||||
run: |
|
||||
python3 scripts/mk_make.py --python
|
||||
cd build && make -j$(nproc)
|
||||
cd ../src/api/python && python3 -m pip install --user .
|
||||
|
||||
- name: Clean build directory for WASM
|
||||
run: rm -rf build
|
||||
|
||||
- name: Setup emscripten
|
||||
uses: mymindstorm/setup-emsdk@v14
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue