Skip to content

Commit 238b97b

Browse files
committed
[docs][ci] Add qhelpgenerator to the PATH.
In qt6, with Alma10, qhelpgenerator moved to /usr/lib64, so doxygen didn't find it.
1 parent 2ddf457 commit 238b97b

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/root-docs-ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ jobs:
6969
PYTHONUNBUFFERED: true
7070

7171
steps:
72+
- name: Prepare qhelpgenerator
73+
# Qt6's libexec executables are not in the PATH by default
74+
run: |
75+
which qhelpgenerator && exit 0 # Already in PATH
76+
PATH=/usr/lib64/qt6/libexec/:${PATH} which qhelpgenerator && echo "/usr/lib64/qt6/libexec/" >> "${GITHUB_PATH}"
77+
7278
- name: Checkout
7379
uses: actions/checkout@v6
7480
with:
@@ -79,7 +85,7 @@ jobs:
7985
# if the `if` expr is false, `if` still has exit code 0.
8086
# if the `if` block is entered, the block's exit code becomes the exit
8187
# code of the `if`.
82-
run: 'if [ -d /py-venv/ROOT-CI/bin/ ]; then . /py-venv/ROOT-CI/bin/activate && echo PATH=$PATH >> $GITHUB_ENV; fi'
88+
run: 'if [ -d /py-venv/ROOT-CI/bin/ ]; then . /py-venv/ROOT-CI/bin/activate && echo ${PATH%:*} >> "${GITHUB_PATH}"; fi'
8389

8490
- name: Build ROOT
8591
run: ".github/workflows/root-ci-config/build_root.py

0 commit comments

Comments
 (0)