add -d:nimStrictMode in CI to keep code from regressing; fixes ConvFromXtoItselfNotNeeded, UnusedImport notes (#16764)
This commit is contained in:
parent
35e14998ec
commit
31bb67a309
20 changed files with 43 additions and 23 deletions
4
koch.nim
4
koch.nim
|
|
@ -526,7 +526,7 @@ proc runCI(cmd: string) =
|
|||
echo "runCI: ", cmd
|
||||
echo hostInfo()
|
||||
# boot without -d:nimHasLibFFI to make sure this still works
|
||||
kochExecFold("Boot in release mode", "boot -d:release")
|
||||
kochExecFold("Boot in release mode", "boot -d:release -d:nimStrictMode")
|
||||
|
||||
## build nimble early on to enable remainder to depend on it if needed
|
||||
kochExecFold("Build Nimble", "nimble")
|
||||
|
|
@ -549,7 +549,7 @@ proc runCI(cmd: string) =
|
|||
#[
|
||||
BUG: with initOptParser, `--batch:'' all` interprets `all` as the argument of --batch
|
||||
]#
|
||||
execFold("Run tester", "nim c -r -d:nimCoroutines --putenv:NIM_TESTAMENT_REMOTE_NETWORKING:1 testament/testament --batch:$1 all -d:nimCoroutines" % ["NIM_TESTAMENT_BATCH".getEnv("_")])
|
||||
execFold("Run tester", "nim c -r -d:nimCoroutines --putenv:NIM_TESTAMENT_REMOTE_NETWORKING:1 -d:nimStrictMode testament/testament --batch:$1 all -d:nimCoroutines" % ["NIM_TESTAMENT_BATCH".getEnv("_")])
|
||||
|
||||
block CT_FFI:
|
||||
when defined(posix): # windows can be handled in future PR's
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue