Skip to content

Commit

Permalink
koch: disable js for x86_32 Linux CI
Browse files Browse the repository at this point in the history
Node.js has deprecated 32-bit builds for x86 Linux:
nodejs/build#885
  • Loading branch information
alaviss committed Mar 19, 2021
1 parent f58f1a1 commit 55bceba
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion koch.nim
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,13 @@ proc runCI(cmd: string) =
# main bottleneck here
# xxx: even though this is the main bottleneck, we could speedup the rest via batching with `--batch`.
# BUG: with initOptParser, `--batch:'' all` interprets `all` as the argument of --batch, pending bug #14343
execFold("Run tester", "nim c -r -d:nimCoroutines --putenv:NIM_TESTAMENT_REMOTE_NETWORKING:1 -d:nimStrictMode testament/testament $# all -d:nimCoroutines" % batchParam)
const Targets =
# Disable JS tests on i?86 systems since node.js has been deprecated there.
when defined(i386) and defined(linux):
"--targets:\"c cpp\""
else:
"--targets:\"c cpp js\""
execFold("Run tester", "nim c -r -d:nimCoroutines --putenv:NIM_TESTAMENT_REMOTE_NETWORKING:1 -d:nimStrictMode testament/testament $1 $2 all -d:nimCoroutines" % [batchParam, Targets])

block CT_FFI:
when defined(posix): # windows can be handled in future PR's
Expand Down

0 comments on commit 55bceba

Please sign in to comment.