build testament in package CI (#19092)

* build testament in package CI

* Update testament/important_packages.nim

(cherry picked from commit b155864967)
This commit is contained in:
flywind
2021-11-02 23:31:30 +08:00
committed by narimiran
parent efdb180f62
commit d4de5d32bc

View File

@@ -559,7 +559,8 @@ proc runCI(cmd: string) =
let batchParam = "--batch:$1" % "NIM_TESTAMENT_BATCH".getEnv("_")
if getEnv("NIM_TEST_PACKAGES", "0") == "1":
execFold("Test selected Nimble packages", "nim r testament/testament $# pcat nimble-packages" % batchParam)
nimCompileFold("Compile testament", "testament/testament.nim", options = "-d:release")
execFold("Test selected Nimble packages", "testament $# pcat nimble-packages" % batchParam)
else:
buildTools()