diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fba3577..20f1cb8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -66,7 +66,7 @@ jobs: if [ "$RUNNER_OS" == "Windows" ]; then export PATH="$GITHUB_WORKSPACE/.nim_runtime/bin:$HOME/.nimble/bin:$PATH" fi - nimble build -y + nimble buildffi -y - name: Run allocation tests shell: bash diff --git a/ffi.nimble b/ffi.nimble index 9639a5c..3086130 100644 --- a/ffi.nimble +++ b/ffi.nimble @@ -14,8 +14,8 @@ requires "taskpools" const nimFlags = "--mm:orc -d:chronicles_log_level=WARN" -task build, "Compile the library": - exec "nim c " & nimFlags & " --noMain ffi.nim" +task buildffi, "Compile the library": + exec "nim c " & nimFlags & " --app:lib --noMain ffi.nim" task test, "Run all tests": exec "nim c -r " & nimFlags & " tests/test_alloc.nim"