Skip to content

Commit 6cb0c85

Browse files
authored
Merge pull request #8874 from JacobBarthelmeh/nginx-tests
fix for perl module version used with nginx test
2 parents c5e63b8 + b78f8a4 commit 6cb0c85

1 file changed

Lines changed: 22 additions & 1 deletion

File tree

.github/workflows/nginx.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,28 @@ jobs:
122122

123123
- name: Install dependencies
124124
run: |
125-
sudo cpan -iT Proc::Find Net::SSLeay IO::Socket::SSL
125+
sudo cpan -iT Proc::Find
126+
127+
# Locking in the version of SSLeay used with testing
128+
- name: Download and install Net::SSLeay 1.94 manually
129+
run: |
130+
curl -LO https://www.cpan.org/modules/by-module/Net/CHRISN/Net-SSLeay-1.94.tar.gz
131+
tar -xzf Net-SSLeay-1.94.tar.gz
132+
cd Net-SSLeay-1.94
133+
perl Makefile.PL
134+
make
135+
sudo make install
136+
137+
# SSL version 2.091 changes '' return to undef causing test case to fail.
138+
# Locking in the test version to use as 2.090
139+
- name: Download and install IO::Socket::SSL 2.090 manually
140+
run: |
141+
curl -LO https://www.cpan.org/modules/by-module/IO/IO-Socket-SSL-2.090.tar.gz
142+
tar -xzf IO-Socket-SSL-2.090.tar.gz
143+
cd IO-Socket-SSL-2.090
144+
perl Makefile.PL
145+
make
146+
sudo make install
126147
127148
- name: Checkout wolfssl-nginx
128149
uses: actions/checkout@v4

0 commit comments

Comments
 (0)