Testing

Nimler tests are Elixir NIFs. Elixir is required to run tests.

$ git clone git@github.com:wltsmrz/nimler.git
$ cd nimler
$ nimble build_all # build all test NIFs
$ nimble test_all # run tests

Build status

Automated tests are run via github actions on Ubuntu x64 and arm64.

TargetStatus
x86_64-linux
arm64-linux

Nim compile flags

As NIFs are shared libraries, the minimum required configuration is --app:lib. Automated tests are run with the following nim.cfg:

define:nimlerGenWrapperForce
define:nimlerWrapperFilename="NimlerWrapper.ex"
define:release
verbosity:0
app:lib
gc:arc
define:forceBuild
define:noMain
define:noSignalHandler 
opt:speed
stackTrace:off
lineTrace:off
panics:on
warning[GcUnsafe]:off
hint[User]:off
hint[Exec]:off
hint[Link]:off
hint[SuccessX]:off
hint[Conf]:off
hint[Processing]:off
hint[GCStats]:off
hint[GlobalVar]:off