From c33ab0ba38408fc806b44246a3d393640d6fc9cb Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Thu, 13 Apr 2023 17:52:24 +0800 Subject: stops building nimsuggest twice and nim_dbg in tests; saves 3 * 5 minutes CI time (#21654) stop building nimsuggest twice and nim_dbg in tests; saving 3 * 5 minutes CI time --- koch.nim | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/koch.nim b/koch.nim index 52378e43f..d89d9fc93 100644 --- a/koch.nim +++ b/koch.nim @@ -229,6 +229,14 @@ proc buildTools(args: string = "") = nimCompileFold("Compile atlas", "tools/atlas/atlas.nim", options = "-d:release " & args, outputName = "atlas") +proc testTools(args: string = "") = + nimCompileFold("Compile nimgrep", "tools/nimgrep.nim", + options = "-d:release " & args) + when defined(windows): buildVccTool(args) + bundleNimpretty(args) + nimCompileFold("Compile testament", "testament/testament.nim", options = "-d:release " & args) + nimCompileFold("Compile atlas", "tools/atlas/atlas.nim", options = "-d:release " & args, + outputName = "atlas") proc nsis(latest: bool; args: string) = bundleNimbleExe(latest, args) @@ -546,7 +554,7 @@ proc runCI(cmd: string) = nimCompileFold("Compile testament", "testament/testament.nim", options = "-d:release") execFold("Test selected Nimble packages", "testament $# pcat nimble-packages" % batchParam) else: - buildTools() + testTools() for a in "zip opengl sdl1 jester@#head".split: let buildDeps = "build"/"deps" # xxx factor pending https://github.com/timotheecour/Nim/issues/616 -- cgit 1.4.1-2-gfad0