~/talk

Static Code Analysis with Gitlab CI

Talkat Akademy 2020 · 2020-09-04..09-11· [devops-and-delivery, testing]
links:none on file
slides:none on file

Shows a GitLab CI pipeline that runs static analysis by compiling the whole project, running clang-tidy and clazy only on files changed in the merge request, and publishing a code quality report inside the MR view. Handles generated Qt files by doing a full build (slow, hits a one-hour runner timeout), so the practical optimization is checking only changed files to fit time limits. Implementation exists as an include file in a sysadmin repo, works but is pending polishing and merge.

AI-written summary · about

  1. 0:00Intro
  2. 0:48Static Analysis 101
  3. 1:36Clazy - Qt Containers & Range-based for loop
  4. 6:13GitLab CI
  5. 7:11How do I get it?
  6. 11:21What exactly does it do?
  7. 15:14What does it look like?
  8. 16:14Customization - analyzers
  9. 17:22Customization - Clazy
  10. 18:09Customization - Clang-tidy
  11. 19:44Conclusion
  12. 20:51Thank you!
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.