summary refs log tree commit diff stats
path: root/koch.nim
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2021-02-23 04:31:53 -0800
committerGitHub <noreply@github.com>2021-02-23 13:31:53 +0100
commit5d95137ce040edd181e56bc132ce319e59bd1ee4 (patch)
treeb17fa6e6298cbc4d5d24fef398b754c88b783681 /koch.nim
parentb1a3651ae4e2db9ea46ab5c6c82f554d963d8506 (diff)
downloadNim-5d95137ce040edd181e56bc132ce319e59bd1ee4.tar.gz
remove tests/deps/ (#17132)
* remove tests/deps/

* fix tests

* fix tests/manyloc/keineschweine/lib/zlib_helpers.nim

* fixup
Diffstat (limited to 'koch.nim')
-rw-r--r--koch.nim6
1 files changed, 6 insertions, 0 deletions
diff --git a/koch.nim b/koch.nim
index 7e2682599..477b4424b 100644
--- a/koch.nim
+++ b/koch.nim
@@ -538,6 +538,12 @@ proc runCI(cmd: string) =
   else:
     buildTools()
 
+    for a in "zip opengl sdl1 jester@#head".split:
+      let buildDeps = "build"/"deps" # xxx factor pending https://github.com/timotheecour/Nim/issues/616
+      # if this gives `Additional info: "build/deps" [OSError]`, make sure nimble is >= v0.12.0,
+      # otherwise `absolutePath` is needed, refs https://github.com/nim-lang/nimble/issues/901
+      execFold("", "nimble install -y --nimbleDir:$# $#" % [buildDeps.quoteShell, a])
+
     ## run tests
     execFold("Test nimscript", "nim e tests/test_nimscript.nims")
     when defined(windows):