test with Nim 2.0 in CI (#46)

This commit is contained in:
tersec 2023-04-13 23:09:33 +00:00 committed by GitHub
parent 6e18455a63
commit 708a739d35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -26,7 +26,7 @@ jobs:
cpu: amd64
#- os: windows
#cpu: i386
branch: [version-1-2, version-1-4, version-1-6, devel]
branch: [version-1-2, version-1-4, version-1-6, version-2-0, devel]
include:
- target:
os: linux

View File

@ -28,8 +28,9 @@ 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, "Tests":
run "--threads:on", "tests/all_tests"
run "--threads:off", "tests/all_tests"