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

This commit is contained in:
tersec 2023-04-13 23:35:19 +00:00 committed by GitHub
parent 51a881a9c7
commit 273aa6cc3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"]: