-
-
Notifications
You must be signed in to change notification settings - Fork 200
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
use scan-build for testing #781
Labels
Comments
Example output
|
This is pretty cool - you can install the scan-build tool in Ubuntu with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't know the "right" way to do this, but some kind folks in the #gentoo-dev-help channel on libera irc helped me discover scan-build
Min test case for use
This will build the code while using a static code analysis tool to report errors. It seems to successfully find bugs like the ones found at runtime with #780
It also makes a cool html report at the end. I don't know how to do github actions well, but this would be an excellent way to add some automated testing. This might be a good start to work on that https://github.com/marketplace/actions/run-cmake
The text was updated successfully, but these errors were encountered: