3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-12-22 12:13:44 +00:00

updated with env ocaml

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2025-12-18 14:00:50 -08:00
parent 89e5e294fc
commit 1cccbfdcf3

View file

@ -37,7 +37,7 @@ jobs:
sudo apt-get update sudo apt-get update
sudo apt-get install -y doxygen graphviz python3 python3-pip sudo apt-get install -y doxygen graphviz python3 python3-pip
sudo apt-get install -y \ sudo apt-get install -y \
bubblewrap m4 libgmp-dev pkg-config ninja-build ccache bubblewrap m4 libgmp-dev pkg-config
- name: Install required opam packages - name: Install required opam packages
run: opam install -y ocamlfind zarith run: opam install -y ocamlfind zarith
@ -61,6 +61,7 @@ jobs:
- name: Generate Documentation (from doc directory) - name: Generate Documentation (from doc directory)
working-directory: doc working-directory: doc
run: | run: |
eval $(opam env)
python3 mk_api_doc.py --mld --output-dir=api --z3py-package-path=../build/python/z3 python3 mk_api_doc.py --mld --output-dir=api --z3py-package-path=../build/python/z3
mkdir api/html/ml mkdir api/html/ml
ocamldoc -html -d api/html/ml -sort -hide Z3 -I $( ocamlfind query zarith ) -I ../build/api/ml ../build/api/ml/z3enums.mli ../build/api/ml/z3.mli ocamldoc -html -d api/html/ml -sort -hide Z3 -I $( ocamlfind query zarith ) -I ../build/api/ml ../build/api/ml/z3enums.mli ../build/api/ml/z3.mli