blob: bb6b6505a266c930b9bb22e206f37d36f5cbd625 [file] [log] [blame]
name: CI Linux
on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
perl: [ '5.32', '5.30', '5.20' ]
name: Perl ${{ matrix.perl }}
steps:
- uses: actions/checkout@v2
- name: Setup Perl environment
uses: shogo82148/actions-setup-perl@v1.10.0
with:
perl-version: ${{ matrix.perl }}
- run: perl -V
- name: Install dependencies
run: |
cpanm File::ShareDir::Install
cpanm --installdeps .
- name: Install
run: |
perl Makefile.PL
make install
- name: Run tests
run: prove -lr t