Enable Windows CI (#714)

Also fix #676
This commit is contained in:
genotrance 2019-10-03 18:38:51 -05:00 committed by GitHub
commit a2ec2db8f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 45 additions and 22 deletions

View file

@ -9,10 +9,9 @@ license = "BSD"
requires "nim >= 0.12.1"
when defined(windows):
let callNimble = "..\\..\\src\\nimble.exe"
else:
let callNimble = "../../src/nimble"
let
callNimble = getEnv("NIMBLE_TEST_BINARY_PATH")
doAssert callNimble.len != 0, "NIMBLE_TEST_BINARY_PATH not set"
task recurse, "Level 1":
echo 1