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

Add static analysis to CI #188

Merged
merged 4 commits into from
Mar 22, 2024
Merged

Add static analysis to CI #188

merged 4 commits into from
Mar 22, 2024

Conversation

mchack-work
Copy link
Member

@mchack-work mchack-work commented Mar 21, 2024

Run at least make check in CI. Related to #176

  • Don't include noisy splint in CI, though, so move it away from check target.
  • Silence splint somewhat. All blake2s warnings are left.

Depends on #191 to include tools in tkey-builder and a new tkey-builder image in ghcr.

@mchack-work mchack-work requested a review from dehanj March 21, 2024 11:35
@mchack-work mchack-work marked this pull request as draft March 21, 2024 11:39
@dehanj
Copy link
Member

dehanj commented Mar 22, 2024

Confirming by using tkey-builder:4 on main that it gives us the same checksum. So it is the changes in commit 76604fd "Silence Splint somewhat" that changes the checksum.

- Exclude splint from CI, so we make another target for it "splint",
  which we might include in the "check" target later.

- Move the analysis runs earlier in CI so they, including indentation
  checks, fail first.

- Include printouts of hashen in check-binary-hashes to easier see
  what the digest are if it fails in CI.
The only real changes are some unitialized variables and that we now
make explicit that we don't care about the return value from memset().
@dehanj dehanj marked this pull request as ready for review March 22, 2024 10:31
@dehanj dehanj merged commit 9213698 into main Mar 22, 2024
1 check passed
@dehanj dehanj deleted the static-in-ci branch March 22, 2024 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants