Skip to content

Commit 0e895a0

Browse files
committed
Add github action
1 parent f636f4b commit 0e895a0

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/linux.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: linux
2+
3+
on:
4+
- push
5+
6+
jobs:
7+
perl:
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
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'
20+
- '5.26'
21+
- '5.28'
22+
- '5.30'
23+
- '5.32'
24+
container:
25+
image: perl:${{ matrix.perl-version }}
26+
steps:
27+
- uses: actions/checkout@v1
28+
- name: Install XML::Generator Depends
29+
run: |
30+
curl -sL https://cpanmin.us/ | perl - -nq --installdeps . ;
31+
- name: Build Module
32+
run: |
33+
perl Makefile.PL;
34+
make
35+
- name: Run Tests
36+
run: |
37+
prove -lr -l -b -I inc t

0 commit comments

Comments
 (0)