Skip to content

Commit dd89256

Browse files
committed
Enable GitHub Actions
1 parent 0f29677 commit dd89256

1 file changed

Lines changed: 42 additions & 0 deletions

File tree

.github/workflows/ci-linux.yaml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: linux
2+
on:
3+
push:
4+
branches:
5+
- '*'
6+
pull_request:
7+
branches:
8+
- '*'
9+
jobs:
10+
build:
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
matrix:
14+
os: ['ubuntu-latest']
15+
perl:
16+
- '5.16'
17+
- '5.18'
18+
- '5.20'
19+
- '5.22'
20+
- '5.24'
21+
- '5.26'
22+
- '5.28'
23+
- '5.30'
24+
name: Perl ${{ matrix.perl }} on ${{ matrix.os }}
25+
steps:
26+
- uses: actions/checkout@v2
27+
- uses: shogo82148/actions-setup-perl@v1
28+
- name: perl -V
29+
run: perl -V
30+
- name: Set up perl
31+
# with:
32+
# perl-version: ${{ matrix.perl }}
33+
run: |
34+
cpanm --installdeps .
35+
cpanm -n Test::Pod Test::Pod::Coverage Module::Build Devel::Cover::Report::Codecov
36+
perl Build.PL
37+
./Build build
38+
- name: Run tests
39+
run: |
40+
TEST_SHARED=1 TEST_SUBREAPER=1 cover -test
41+
42+

0 commit comments

Comments
 (0)