Marc Kupietz | 134bd87 | 2021-03-16 14:32:35 +0100 | [diff] [blame^] | 1 | name: CI Linux |
| 2 | on: |
| 3 | push: |
| 4 | branches: |
| 5 | - '*' |
| 6 | tags-ignore: |
| 7 | - '*' |
| 8 | pull_request: |
| 9 | jobs: |
| 10 | perl: |
| 11 | runs-on: ubuntu-latest |
| 12 | strategy: |
| 13 | matrix: |
| 14 | perl-version: |
| 15 | - '5.20' |
| 16 | - '5.22' |
| 17 | - '5.30' |
| 18 | - '5.32' |
| 19 | java: [ 8, 11 ] |
| 20 | name: Perl ${{ matrix.perl-version }} and Java ${{ matrix.java }} on Linux |
| 21 | container: |
| 22 | image: perl:${{ matrix.perl-version }} |
| 23 | steps: |
| 24 | - uses: actions/checkout@v2 |
| 25 | - uses: actions/setup-java@v1 |
| 26 | with: |
| 27 | java-version: ${{ matrix.java }} |
| 28 | java-package: jre |
| 29 | - name: perl -V |
| 30 | run: perl -V |
| 31 | - name: Install dependencies |
| 32 | run: cpanm --installdeps . |
| 33 | - name: Install |
| 34 | run: | |
| 35 | perl Makefile.PL |
| 36 | make install |
| 37 | - name: Run tests |
| 38 | run: prove -lr t/ |