test refc in CI in Nim 2.0 and later (#55)
This commit is contained in:
parent
d55d3a86d7
commit
7640cc6aa8
|
@ -25,8 +25,10 @@ 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
|
||||
|
||||
import strutils
|
||||
from std/strutils import endsWith
|
||||
|
||||
task test, "Run tests":
|
||||
for path in listFiles("tests"):
|
||||
|
|
Loading…
Reference in New Issue