mirror of
https://github.com/logos-messaging/nim-ffi.git
synced 2026-05-07 10:49:28 +00:00
fix basic nimble build process
This commit is contained in:
parent
ac6940eab8
commit
e44f99315f
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user