Skip to content

Commit 55bceba

Browse files
committedMar 19, 2021
koch: disable js for x86_32 Linux CI
Node.js has deprecated 32-bit builds for x86 Linux: nodejs/build#885
1 parent f58f1a1 commit 55bceba

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed
 

‎koch.nim

+7-1
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,13 @@ proc runCI(cmd: string) =
552552
# main bottleneck here
553553
# xxx: even though this is the main bottleneck, we could speedup the rest via batching with `--batch`.
554554
# BUG: with initOptParser, `--batch:'' all` interprets `all` as the argument of --batch, pending bug #14343
555-
execFold("Run tester", "nim c -r -d:nimCoroutines --putenv:NIM_TESTAMENT_REMOTE_NETWORKING:1 -d:nimStrictMode testament/testament $# all -d:nimCoroutines" % batchParam)
555+
const Targets =
556+
# Disable JS tests on i?86 systems since node.js has been deprecated there.
557+
when defined(i386) and defined(linux):
558+
"--targets:\"c cpp\""
559+
else:
560+
"--targets:\"c cpp js\""
561+
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])
556562

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

0 commit comments

Comments
 (0)
Please sign in to comment.