CI: Install the pkg we cloned (#14770)

This commit is contained in:
Clyybber 2020-06-24 17:27:46 +02:00 • committed by GitHub
commit 302e3b7f44
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 45 additions and 57 deletions

View file

@ -1,17 +1,17 @@
template pkg1(name: string; hasDeps = false; cmd = "nimble test"; url = ""): untyped =
packages1.add((name, cmd, hasDeps, url))
template pkg1(name: string; hasDeps = false; cmd = "nimble test"; url = "", useHead = true): untyped =
packages1.add((name, cmd, hasDeps, url, useHead))
template pkg2(name: string; hasDeps = false; cmd = "nimble test"; url = ""): untyped =
packages2.add((name, cmd, hasDeps, url))
template pkg2(name: string; hasDeps = false; cmd = "nimble test"; url = "", useHead = true): untyped =
packages2.add((name, cmd, hasDeps, url, useHead))
var packages1*: seq[tuple[name, cmd: string; hasDeps: bool; url: string]] = @[]
var packages2*: seq[tuple[name, cmd: string; hasDeps: bool; url: string]] = @[]
var packages1*: seq[tuple[name, cmd: string; hasDeps: bool; url: string, useHead: bool]] = @[]
var packages2*: seq[tuple[name, cmd: string; hasDeps: bool; url: string, useHead: bool]] = @[]
# packages A-M
pkg1 "alea", true
pkg1 "argparse"
pkg1 "arraymancer", true, "nim c tests/tests_cpu.nim"
# pkg1 "arraymancer", true, "nim c tests/tests_cpu.nim"
pkg1 "ast_pattern_matching", false, "nim c -r --oldgensym:on tests/test1.nim"
pkg1 "asyncmysql", true
pkg1 "awk", true
@ -49,7 +49,7 @@ pkg1 "gnuplot"
pkg1 "hts", false, "nim c -o:htss src/hts.nim"
# pkg1 "httpauth", true
pkg1 "illwill", false, "nimble examples"
pkg1 "inim", true # pending https://github.com/inim-repl/INim/issues/74
pkg1 "inim", true
pkg1 "itertools", false, "nim doc src/itertools.nim"
pkg1 "iterutils"
pkg1 "jstin"
@ -90,7 +90,6 @@ pkg2 "nimsvg"
pkg2 "nimwc", true, "nim c nimwc.nim"
# pkg2 "nimx", true, "nim c --threads:on test/main.nim"
# pkg2 "nitter", true, "nim c src/nitter.nim", "https://github.com/zedeus/nitter"
# pending https://github.com/timotheecour/Nim/issues/167 or new git tag for nitter
pkg2 "norm", true, "nim c -r tests/tsqliterows.nim"
pkg2 "npeg", false, "nimble testarc"
pkg2 "numericalnim", true, "nim c -r tests/test_integrate.nim"