3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-01-04 18:18:48 +00:00

Fix docs.yml workflow: resolve WASM/native library conflict in documentation generation (#8093)

* Initial plan

* Fix docs.yml: Build native Z3 Python bindings before WASM to avoid library conflicts

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
Copilot 2025-12-17 17:18:33 +00:00 committed by GitHub
parent 9933500365
commit fc72855e55
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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