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:
parent
9933500365
commit
fc72855e55
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