test with Nim 2.0 in CI (#46)
This commit is contained in:
parent
6e18455a63
commit
708a739d35
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue