polkit-org / polkit

polkit (formerly PolicyKit) is a toolkit for defining and handling authorizations. It is used for allowing unprivileged processes to speak to privileged processes.
Other
48 stars 27 forks source link

ci: run build & unit tests in GH Actions #415

Closed mrc0mmand closed 6 months ago

mrc0mmand commented 7 months ago

Introduce a GH Actions job that builds & tests polkit in three "categories":

1) Build with various optimization levels & other build-time options (both clang & gcc)

2) Build & run the unit tests (both clang & gcc)

3) Build & run the unit tests with Address Sanitizer and Undefined Behavior Sanitizer (only gcc for now)

There's a couple of outstanding issues that should be taken care of in the near future:

mrc0mmand commented 7 months ago

An example of such CI run can be seen in https://github.com/mrc0mmand/polkit/pull/1.

vmihalko commented 6 months ago

fix build with clang >= 17

Soon, we plan to remove/replace mocklibc.

vmihalko commented 6 months ago

Thank you for this PR!