Skip to content

Commit 7c51e1b

Browse files
authored
Merge pull request #68 from waterkip/GH-actions
Run Github actions on pull requests
2 parents 915adaa + 55d6e5e commit 7c51e1b

File tree

1 file changed

+21
-10
lines changed

1 file changed

+21
-10
lines changed

.github/workflows/linux.yml

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,44 @@ name: linux
22

33
on:
44
- push
5+
- pull_request
56

67
jobs:
78
perl:
89
runs-on: ubuntu-latest
910
strategy:
1011
matrix:
1112
perl-version:
12-
- '5.10'
13-
- '5.12'
14-
- '5.14'
15-
- '5.16'
16-
- '5.18'
17-
- '5.20'
18-
- '5.22'
19-
- '5.24'
13+
- '5.10-buster'
14+
- '5.12-buster'
15+
- '5.14-buster'
16+
- '5.16-buster'
17+
- '5.18-buster'
18+
- '5.20-buster'
19+
- '5.22-buster'
20+
- '5.24-buster'
2021
- '5.26'
2122
- '5.28'
2223
- '5.30'
2324
- '5.32'
25+
- '5.34'
26+
- '5.36'
2427
container:
2528
image: perl:${{ matrix.perl-version }}
2629
steps:
2730
- uses: actions/checkout@v1
2831
- name: Install Net::SAML2 Depends
2932
run: |
30-
apt-get install libxml2 make gcc;
31-
curl -sL https://cpanmin.us/ | perl - -nq --installdeps . ;
33+
apt-get install libxml2 make gcc wget;
34+
mkdir -p $HOME/.cpanm ;
35+
cd $HOME/.cpanm;
36+
wget https://src.fedoraproject.org/repo/pkgs/perl-Math-Pari/pari-2.3.4.tar.gz/35c896266e4257793387ba22d5d76078/pari-2.3.4.tar.gz \
37+
-O pari-2.3.4.tar.gz ;
38+
echo '35c896266e4257793387ba22d5d76078 pari-2.3.4.tar.gz' | md5sum -c - ;
39+
tar zxf pari-2.3.4.tar.gz;
40+
cd - ;
41+
cpanm Math::Pari Moose;
42+
cpanm --installdeps . ;
3243
- name: Build Module
3344
run: |
3445
perl Makefile.PL;

0 commit comments

Comments
 (0)