Example of C wrapper just prints debug message for success and failure, in case of failure CI is not able to detect. So modified C program to exit with status code 1 in caase of failure and with status code 0 in case of success. Status code will be return to make and a non-zero status code will result in make build failure.
Add a CI job to run leaks tool to detect memory leaks in C wrapper example.
make
and a non-zero status code will result inmake
build failure.leaks
tool to detect memory leaks in C wrapper example.