Skip to content
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

CI: Download, compile and use latest cppcheck version #1310

Merged
merged 1 commit into from
Apr 28, 2024

Conversation

eht16
Copy link
Member

@eht16 eht16 commented Feb 17, 2024

Instead of using a dated version of "cppcheck" from the runner image, we download the latest release of "cppcheck" and build it.

As building it takes a few minutes, the build result is cached to be re-used in succeeding build runs.

This should make us aware of failed checks in recent "cppcheck" versions quicker. Currently we notice these mostly only when running "make check" locally or when the nightly builds for Debian Unstable fail because they also use recent "cppcheck" versions.

Currently the build fails because of the pending changes in #1309, once this is merged, the build should succeed.

@eht16 eht16 added the build system Automake build system issues label Feb 17, 2024
@eht16 eht16 self-assigned this Feb 17, 2024
@eht16 eht16 force-pushed the ci_use_recent_cppcheck branch from f897ccf to 6535163 Compare February 17, 2024 12:20
@andy5995
Copy link
Contributor

Have you ever considered adding a CodeQL check here or on Geany itself?

@elextr
Copy link
Member

elextr commented Feb 17, 2024

Have you ever considered adding a CodeQL check here or on Geany itself?

Not relevant to this PR, if "somebody" ran it on the source and posted the results in a separate issue it might be interesting, but please do not pollute PRs with other topics.

@eht16 eht16 force-pushed the ci_use_recent_cppcheck branch from 6535163 to 1562ca0 Compare March 3, 2024 13:38
@eht16
Copy link
Member Author

eht16 commented Mar 28, 2024

If there are no objections or improvement suggestions, I would like to merge to this in a week.

@frlan
Copy link
Member

frlan commented Apr 4, 2024

If it's working -- why not. I have absolutely no experience with this part of the universe and therefor no objective opinion.

@eht16 eht16 merged commit c2a7261 into geany:master Apr 28, 2024
2 checks passed
@eht16 eht16 deleted the ci_use_recent_cppcheck branch April 28, 2024 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build system Automake build system issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants