Skip to content

Commit a31840e

Browse files
committed
Fix github action for newer versions of perl
Checkout patched Crypt::OpenSSL::VerifyX509
1 parent 739673c commit a31840e

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

.github/workflows/linux.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
- '5.16'
1414
- '5.18'
1515
- '5.20'
16-
#- '5.22'
17-
#- '5.24'
18-
#- '5.26'
19-
#- '5.28'
20-
#- '5.30'
16+
- '5.22'
17+
- '5.24'
18+
- '5.26'
19+
- '5.28'
20+
- '5.30'
2121
container:
2222
image: perl:${{ matrix.perl-version }}
2323
steps:
@@ -53,9 +53,18 @@ jobs:
5353
Dist::Zilla::Plugin::VersionFromModule \
5454
Dist::Zilla::Plugin::AuthorsFromGit;
5555
dzil authordeps --missing | cpanm;
56+
- name: Install Crypt::OpenSSL::VerifyX509
57+
run: |
58+
cpan install inc::Module::Install Module::Install::AuthorRequires Module::Install::AuthorTests \
59+
Test::NoTabs Test::Pod Test::Pod::Coverage Test::More Crypt::OpenSSL::X509;
60+
git clone https://github.com/timlegge/perl-Crypt-OpenSSL-VerifyX509.git;
61+
cd perl-Crypt-OpenSSL-VerifyX509;
62+
perl Makefile.PL;
63+
make install;
5664
- name: Run dzil
5765
run: |
5866
apt-get install libxml2-dev make gcc;
67+
perl -e 'use Crypt::OpenSSL::VerifyX509';
5968
dzil build;
6069
cd Net-Saml2-$(grep our lib/Net/SAML2.pm | sed "s/[^0-9\.]//g");
6170
curl -sL https://cpanmin.us/ | perl - -nq --with-develop --installdeps . ;

0 commit comments

Comments
 (0)