mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
tools: add --error-on-warn configure flag in test-shared.yml
Given that this workflow compiles V8 and other libs separately, that would allow us to detect any Node.js-specific warning that needs to be addressed. Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com> PR-URL: https://github.com/nodejs/node/pull/66751 Reviewed-By: Filip Skokan <panva.ip@gmail.com>
This commit is contained in:
1 parent
fd20448111
commit
a232998e0d
1 file changed
+5
@@ -9,6 +9,10 @@ args@{
|
||||
loadJSBuiltinsDynamically = false;
|
||||
devTools = [ ];
|
||||
benchmarkTools = [ ];
|
||||
extraConfigFlags = [
|
||||
"--debug-node"
|
||||
"--error-on-warn"
|
||||
];
|
||||
}
|
||||
// pkgs.lib.optionalAttrs pkgs.stdenv.hostPlatform.isDarwin (
|
||||
# Disable optional features on Darwin for coverage and faster CI.
|
||||
@@ -20,6 +24,7 @@ args@{
|
||||
// {
|
||||
withSSL = true; # no-SSL coverage is ensured by Jenkins
|
||||
extraConfigFlags = [
|
||||
"--error-on-warn"
|
||||
"--without-inspector"
|
||||
"--without-node-options"
|
||||
];
|
||||
|
||||
Reference in new issue
Block a user