-
Notifications
You must be signed in to change notification settings - Fork 72
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 CI using CTest scripts #44
Comments
I did not know about this sort of functionality. Cool! I also agree that the referenced CI looks good and makes it easier (even though it's already extremely easy) for people to run what CI runs, locally. One thing I do like about the currently implemented CI (and something that is lost with the current CTest script implementation) is the separation of steps for both readability of the logs and easily determining which step (configure, build, test) has failed. Fortunately, with GitHub Actions, there is a way to separate logs within a step using workflow commands, for example:
It requires echoing a command which is interpreted by the runner. However, this means that the actual CTest files will contain more lines of CMake to do this command echoing; and a few more lines if you want to check whether the Just something to consider! |
Seemed like a great idea, but unfortunately the ordering of the messages is somehow messed up friendlyanon/check-type-align@d3d0538 https://github.com/friendlyanon/check-type-align/actions/runs/1762132747?check_suite_focus=true |
Well that is in fact a real usability/convenience issue. With longer logs I can see it being not as nice to navigate, with normal verbosity you need to upload artifacts to see the actual outputs that require a manual download, unzipping and staring at XML files. I have added the repository to the examples, so if anyone is curious about that, then it's going to be there. One additional note about CTest scripts: the |
This is just an idea, but I like how check-type-align's CI looks. It could be worth considering using these in generated projects' CI.
The text was updated successfully, but these errors were encountered: