mpope9 / exor_filter

Erlang nif for xor_filter. 'Faster and Smaller Than Bloom and Cuckoo Filters'.
Apache License 2.0
31 stars 3 forks source link

Add GitHub Actions for eunit #19

Open mpope9 opened 3 years ago

mpope9 commented 3 years ago

Include ASan defined here: https://github.com/mpope9/exor_filter/issues/17

mpope9 commented 3 years ago

Good place to get started: https://github.com/marketplace/actions/setup-erlang

mpope9 commented 3 years ago

Use OTP 23+

JayKickliter commented 3 years ago

This github workflow file is a complete example. The major difference is that I build that NIF with CMake, and the CMake script if there is an environment variable named SANITIZE_ERLANG_NIFS set and equal to 1. You could do the same thing this NIF's Makefile.

mpope9 commented 3 years ago

Neat, thank you. Does coverage also hit the nif code? I don't know the difference between rebar3 cover and covertool

JayKickliter commented 3 years ago

The codecov only tracks erlang coverage. IIRC, that is using covertool.