github/test: Run tests with address sanitizer

We have lots of cgo interaction here so better to check things fully.

This also requires manually checking for leaks, so add support for this.
This commit is contained in:
Marco Trevisan (Treviño)
2023-10-19 03:02:46 +02:00
parent 04ad7bdc73
commit eac1f2d85d
5 changed files with 89 additions and 4 deletions

2
.gitignore vendored
View File

@@ -1,4 +1,4 @@
coverage.out
coverage*.out
example-module/*.so
example-module/*.h
cmd/pam-moduler/tests/*/*.so