Multi-version CI

This commit is contained in:
Ganesh Viswanathan 2018-10-08 12:08:38 -05:00
commit efc04c38cc
2 changed files with 52 additions and 48 deletions

View file

@ -3,12 +3,15 @@ import distros, ospaths, strutils
var
full = true
comps = @["libsvm", "nim7z", "nimarchive", "nimbass", "nimbigwig",
"nimclipboard", #"nimfastText",
"nimfuzz", "nimmonocypher",
"nimclipboard", "nimfuzz", "nimmonocypher",
"nimnuklear", "nimpcre", "nimrax", "nimssl", "nimssh2",
"nimtess2", "nimzbar"
]
var nimver = staticExec("nim -v").split("\n")[0].split(" ")[3]
if nimver >= "0.19.0":
comps.add("nimfastText")
if detectOs(Windows):
comps.add("nimkerberos")