summary refs log tree commit diff stats
path: root/koch.nim
diff options
context:
space:
mode:
authorflywind <xzsflywind@gmail.com>2021-11-02 23:31:30 +0800
committerGitHub <noreply@github.com>2021-11-02 16:31:30 +0100
commitb155864967ba08861c39403003095d4822b03b4e (patch)
treecf626dadc570f95ee4050ba22b3e5762fe799d28 /koch.nim
parent9d51197aa4eb404c3cce8c5989146dea8d3de024 (diff)
downloadNim-b155864967ba08861c39403003095d4822b03b4e.tar.gz
build testament in package CI (#19092)
* build testament in package CI

* Update testament/important_packages.nim
Diffstat (limited to 'koch.nim')
-rw-r--r--koch.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/koch.nim b/koch.nim
index 06515aad7..f87828cdc 100644
--- a/koch.nim
+++ b/koch.nim
@@ -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()