test refc in CI in Nim 2.0 and later (#75)

This commit is contained in:
tersec 2024-02-14 02:36:37 +00:00 committed by GitHub
parent 8e95e747d1
commit b751ffa7b6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,8 @@ proc build(args, path: string) =
proc run(args, path: string) =
build args & " -r", path
if (NimMajor, NimMinor) > (1, 6):
build args & " --mm:refc -r", path
task test, "Runs rest tests":
run "", "tests/testall"