-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run doxygen layout checker in prepare-commit script, when possible #54936
Conversation
The doxygen check requires that the non-default CMAKE option "WITH_APIDOC" is set. This isn't set by default because it slows down the build considerably (especially for otherwise trivial rebuilds). I'm not sure if it's possible, but the prepare-commit script should only run the check if WITH_APIDOC is true... |
2ea842a
to
5b3b036
Compare
The I've rebased the work and added support in the test_doxygen_layout.sh to receive a list of files to test so the cost of check should now be reduced as only modified files are checked. |
@nyalldawson did you have a chance to test this ? On my system it is really fast to check doxygen layout now as it only checks actually modified files and only if they have a .h extension |
Helps preventing useless CI wait like in here: https://github.com/qgis/QGIS/actions/runs/6518501862/job/17703989815?pr=54934 Allow passing list of files to check to test_doxygen_layout.sh script
91daaa2
to
598ee21
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Untested, but looks good to me.
@strk |
Helps preventing useless CI wait like in here:
https://github.com/qgis/QGIS/actions/runs/6518501862/job/17703989815?pr=54934
\cc @troopa81 @elpaso @nyalldawson