test both refc and ORC in post-1.6 Nim versions (#52)

This commit is contained in:
tersec 2023-04-13 23:13:29 +00:00 committed by GitHub
parent 2d8883dc7f
commit 3c6afa3614
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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, "Run all tests":
for threads in ["--threads:off", "--threads:on"]: