fix basic nimble build process

This commit is contained in:
Ivan FB 2026-04-29 15:38:53 +02:00
parent ac6940eab8
commit e44f99315f
No known key found for this signature in database
GPG Key ID: DF0C67A04C543270
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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"