-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (28 loc) · 898 Bytes
/
linux.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
on: [push, pull_request]
name: Linux
jobs:
build:
runs-on: 'ubuntu-latest'
strategy:
fail-fast: false
matrix:
perl: [ '5.36', '5.30', '5.26', '5.16' ]
name: Perl ${{ matrix.perl }}
steps:
- name: check out code
uses: actions/checkout@v3
- name: switch to perl ${{ matrix.perl }}
uses: shogo82148/actions-setup-perl@v1
with:
perl-version: ${{ matrix.perl }}
- name: run tests
env:
PERL_USE_UNSAFE_INC: 0
run: |
perl -v
cpanm ExtUtils::MakeMaker Test::Pod Test::Pod::Coverage || cat /home/runner/.cpanm/work/*/build.log
perl -Mparent -e0 || cpanm parent
rm -rf /home/runner/.cpanm/work/*
cpanm --installdeps . || cat /home/runner/.cpanm/work/*/build.log
perl Makefile.PL
make test TEST_VERBOSE=1