| 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@v3 |
| - name: Setup Perl environment |
| uses: shogo82148/actions-setup-perl@v1 |
| 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 |