File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,38 +11,13 @@ build:
1111 tools :
1212 python : " 3.14"
1313 apt_packages :
14+ - cmake
15+ - graphviz
1416 - inkscape
15- jobs :
16- post_checkout :
17- # Skip docs build if the commit message contains "skip ci"
18- - (git --no-pager log --pretty="tformat:%s -- %b" -1 | grep -viq "skip ci") || exit 183
19- # Skip docs build if there are no changes related to docs
20- - |
21- if [ "$READTHEDOCS_VERSION_TYPE" = "external" ] && git diff --quiet origin/main -- bindings/ include/ docs/ python/ .github/SUPPORT.md .readthedocs.yaml;
22- then
23- exit 183;
24- fi
25- # Unshallow the git clone and fetch tags to get proper version information
26- - git fetch --unshallow --tags
27- pre_build :
28- # Set up uv and a virtual environment
29- - asdf plugin add uv
30- - asdf install uv latest
31- - asdf global uv latest
32- # Set up build-time dependencies
33- - uv sync --only-group build --only-group docs
34- # The default version of CMake on Ubuntu 24.04 is too old, so we need to install a newer version
35- - uv pip install cmake
36- # Download boost
37- - curl -L -O https://archives.boost.io/release/1.87.0/source/boost_1_87_0.tar.gz
38- # Untar boost to ~/
39- - tar -xzf boost_1_87_0.tar.gz -C ~/
40- # Install boost
41- - cd ~/boost_1_87_0 && ./bootstrap.sh --prefix=${HOME}/boost && ./b2 install --with-system --prefix=${HOME}/boost
42- build :
43- html :
44- - Boost_DIR=${HOME}/boost uv run --frozen --no-dev --no-build-isolation-package mqt-syrec -m sphinx -T -b html -d docs/_build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html
45- htmlzip :
46- - Boost_DIR=${HOME}/boost uv run --frozen --no-dev --no-build-isolation-package mqt-syrec -m sphinx -T -b dirhtml -d docs/_build/doctrees -D language=en docs docs/_build/dirhtml
47- - mkdir -p $READTHEDOCS_OUTPUT/htmlzip
48- - zip -r $READTHEDOCS_OUTPUT/htmlzip/html.zip docs/_build/dirhtml/*
17+
18+ python :
19+ install :
20+ - method : uv
21+ command : sync
22+ groups :
23+ - docs
Original file line number Diff line number Diff line change @@ -282,13 +282,6 @@ test-skip = [
282282# excluding the shared libraries from the repair process.
283283
284284[tool .cibuildwheel .linux ]
285- before-all = [
286- " curl -L -O https://archives.boost.io/release/1.87.0/source/boost_1_87_0.tar.gz" ,
287- " tar -xzf boost_1_*" ,
288- " cd boost_1_*/" ,
289- " ./bootstrap.sh" ,
290- " ./b2 install --with-system"
291- ]
292285environment = { DEPLOY =" ON" }
293286# The SOVERSION needs to be updated when the shared libraries are updated.
294287repair-wheel-command = """ auditwheel repair -w {dest_dir} {wheel} \
You can’t perform that action at this time.
0 commit comments