s2geometry icon indicating copy to clipboard operation
s2geometry copied to clipboard

ci: add sanitizer workflows

Open cnaples79 opened this issue 3 months ago • 0 comments

Summary

  • add a dedicated GitHub Actions workflow that runs address-, memory-, and thread-sanitized builds
  • configure clang/clang++ with the appropriate sanitizer compile/link flags and reuse the project’s cmake flow
  • reuse the existing googletest fetch so sanitizer runs execute the ctest target

Rationale

Issue #457 covers the lack of sanitizer coverage. Running ASan/MSan/TSan in CI helps catch undefined behavior early without altering the main build pipeline.

Fixes #457

cnaples79 avatar Oct 07 '25 04:10 cnaples79