| 1 | name: Perl CI |
| 2 | |
| 3 | on: [push, pull_request] |
| 4 | |
| 5 | jobs: |
| 6 | test: |
| 7 | runs-on: ubuntu-latest |
| 8 | |
| 9 | strategy: |
| 10 | fail-fast: false |
| 11 | matrix: |
| 12 | perl-version: |
| 13 | - '5.42' |
| 14 | - '5.38' |
| 15 | - '5.32' |
| 16 | - '5.22' |
| 17 | |
| 18 | container: |
| 19 | image: perldocker/perl-tester:${{ matrix.perl-version }} |
| 20 | |
| 21 | steps: |
| 22 | - uses: actions/checkout@main |
| 23 | with: |
| 24 | submodules: recursive |
| 25 | - run: perl -V |
| 26 | - run: cpanm --notest --installdeps --verbose . |
| 27 | - run: cpanm Text::CSV_XS |
| 28 | - run: perl Makefile.PL |
| 29 | - run: make |
| 30 | - run: make install |
| 31 | - run: prove -lv t/ |