Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: build and run FFI examples #158

Open
4 tasks done
hhirtz opened this issue May 18, 2022 · 1 comment · Fixed by #214
Open
4 tasks done

CI: build and run FFI examples #158

hhirtz opened this issue May 18, 2022 · 1 comment · Fixed by #214
Milestone

Comments

@hhirtz
Copy link
Member

hhirtz commented May 18, 2022

PR #131 made the CI fail because code coverage for the FFI isn't taken into account.

  • build the examples in ffi/examples/
  • build coupe-ffi with coverage instrumentation
  • run the examples with coverage and send it to codecov
  • update the rcb example to abort or return 1 when a coupe algorithm fails (done in More docs #181)
@hhirtz
Copy link
Member Author

hhirtz commented Nov 30, 2022

I don't know why, but some functions like coupe_data_array of coupe_adjncy_free aren't covered. Weird since the functions calls aren't inlined by clang or anything.

@hhirtz hhirtz reopened this Nov 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants