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

This commit is contained in:
tersec 2023-04-14 01:47:16 +00:00 committed by GitHub
parent e49f2f6ee9
commit 470868b244
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
### Helper functions
proc test(args, path: string) =