]> git.kaiwu.me - njs.git/commitdiff
CI: enable stream HTTPS fetch test coverage
authorDmitry Volyntsev <xeioex@nginx.com>
Sat, 24 Oct 2026 05:36:02 +0000 (22:36 -0700)
committerDmitry Volyntsev <xeioexception@gmail.com>
Thu, 19 Nov 2026 06:44:10 +0000 (22:44 -0800)
The standalone nginx CI setup added in 88285bc5 does not install
IO::Socket::SSL.  Consequently, stream_js_fetch_https.t skips even
when nginx is built with SSL support.

Install libio-socket-ssl-perl, as nginx CI already does, so the existing
Perl test exercises HTTPS fetch and TLS stream access checks.  Keep
the dependency guard for environments without the module.

.github/scripts/nginx-ci.sh

index 3f6c1b06429f37c7dfaa955a5044d4ddceb7b1b5..c0e43f215fc48b119983dd7ba26c356c07bab581 100644 (file)
@@ -10,6 +10,7 @@ prepare() {
     sudo apt-get update
     sudo apt-get install -y libssl-dev zlib1g-dev libpcre2-dev libxslt1-dev \
         libgeoip-dev libgd-dev libxml2-dev libedit-dev libperl-dev \
+        libio-socket-ssl-perl \
         libtest-harness-perl libgd-perl expect meson ninja-build
 
     local cc_opt ld_opt