move smtp to nimble packages (#20953)

* move `smtp` to nimble packages

* fixes

* install smtp

* yes
This commit is contained in:
ringabout 2022-12-01 04:52:36 +08:00 • committed by GitHub
commit 17ac8c31bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 3 additions and 367 deletions

View file

@ -544,6 +544,8 @@ proc runCI(cmd: string) =
## build nimble early on to enable remainder to depend on it if needed
kochExecFold("Build Nimble", "nimble")
execFold("Install smtp", "nimble install smtp -y")
let batchParam = "--batch:$1" % "NIM_TESTAMENT_BATCH".getEnv("_")
if getEnv("NIM_TEST_PACKAGES", "0") == "1":
nimCompileFold("Compile testament", "testament/testament.nim", options = "-d:release")