Skip to content

Commit a232998

Browse files
authored
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: #66751 Reviewed-By: Filip Skokan <panva.ip@gmail.com>
1 parent fd20448 commit a232998

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎tools/nix/ci-shell.nix‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ args@{
99
loadJSBuiltinsDynamically = false;
1010
devTools = [ ];
1111
benchmarkTools = [ ];
12+
extraConfigFlags = [
13+
"--debug-node"
14+
"--error-on-warn"
15+
];
1216
}
1317
// pkgs.lib.optionalAttrs pkgs.stdenv.hostPlatform.isDarwin (
1418
# Disable optional features on Darwin for coverage and faster CI.
@@ -20,6 +24,7 @@ args@{
2024
// {
2125
withSSL = true; # no-SSL coverage is ensured by Jenkins
2226
extraConfigFlags = [
27+
"--error-on-warn"
2328
"--without-inspector"
2429
"--without-node-options"
2530
];

0 commit comments

Comments
 (0)