Commit 78cbc7a470 for openssl.org
commit 78cbc7a470ca5795eec74f1ab119ec37927165b9
Author: Richard Levitte <levitte@openssl.foundation>
Date: Wed Nov 18 10:57:38 2026 +0100
perl-minimal-checker CI: check with perl 5.26.1
5.26.1 is the oldest 5.26.x shipped as the system perl on maintained
platforms. The separate Test::More install goes away, as 5.26 core
already carries a much newer version.
The built perl was previously never added to the PATH that later steps
see, so the OpenSSL build and the compliance check silently used the
runner's system perl. It is now exported through $GITHUB_PATH, and
because it is what actually configures and builds OpenSSL, it is a
full build rather than just the perl binary target.
This also reverts the runner image pin to ubuntu-24.04; the job
follows ubuntu-latest again. ubuntu-26.04 images target the
x86-64-v3 microarchitecture, and perl 5.26.1 builds and runs fine
under those circumstances (verified locally with -march=x86-64-v3
and gcc 16).
Assisted-by: Pi:moonshotai/kimi-k3
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Nikola Pajkovsky <nikolap@openssl.org>
Merge-date: Sun Nov 29 14:03:03 2026
Merged-from: https://github.com/openssl/openssl/pull/33822
diff --git a/.github/workflows/perl-minimal-checker.yml b/.github/workflows/perl-minimal-checker.yml
index 1a9d34854b..99fd55d1cf 100644
--- a/.github/workflows/perl-minimal-checker.yml
+++ b/.github/workflows/perl-minimal-checker.yml
@@ -31,29 +31,21 @@ permissions:
jobs:
perl-minimal-checker:
- runs-on: ubuntu-24.04
+ runs-on: ubuntu-latest
steps:
- - name: Install perl 5.10
+ # We check with perl 5.26.1, the oldest perl 5.26.x shipped as the
+ # system perl on maintained platforms (SLES 15, Ubuntu 18.04).
+ - name: Install perl 5.26
run: |
pushd /tmp
mkdir perl
- wget https://www.cpan.org/src/5.0/perl-5.10.1.tar.bz2
- tar xf perl-5.10.1.tar.bz2
- cd perl-5.10.1
- ./Configure -des -Dprefix=/tmp/perl -A ccflags='-Wno-incompatible-pointer-types' -A define:malloctype='void *' -A define:freetype='void' -Dlibs='-ldl -lm -lutil -lc'
- make -j1 perl
+ wget https://www.cpan.org/src/5.0/perl-5.26.1.tar.gz
+ tar xf perl-5.26.1.tar.gz
+ cd perl-5.26.1
+ ./Configure -des -Dprefix=/tmp/perl -A ccflags='-Wno-incompatible-pointer-types' -A define:malloctype='void *' -A define:freetype='void'
+ make -j$(nproc)
make install
- popd
- - name: Install Test::More 0.96
- run: |
- pushd /tmp
- wget https://cpan.metacpan.org/authors/id/M/MS/MSCHWERN/Test-Simple-0.96.tar.gz
- tar xf Test-Simple-0.96.tar.gz
- cd Test-Simple-0.96
- PATH="/tmp/perl/bin:$PATH"
- perl Makefile.PL
- make -j$(nproc) && make install
- perl -MTest::More -e 'print "$Test::More::VERSION\n"'
+ echo "/tmp/perl/bin" >> "$GITHUB_PATH"
popd
- uses: actions/checkout@v6
with: