blob: 5001dae13f31dc82cb42a7150d44e53913db02ae [file] [log] [blame]
Marc Kupietz134bd872021-03-16 14:32:35 +01001name: CI Linux
2on:
3 push:
4 branches:
5 - '*'
6 tags-ignore:
7 - '*'
8 pull_request:
9jobs:
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:
Marc Kupietz134bd872021-03-16 14:32:35 +010024 - uses: actions/setup-java@v1
25 with:
26 java-version: ${{ matrix.java }}
27 java-package: jre
Marc Kupietza93b5862021-03-16 16:29:58 +010028 - uses: actions/checkout@v2
Marc Kupietz134bd872021-03-16 14:32:35 +010029 - name: perl -V
30 run: perl -V
Marc Kupietza93b5862021-03-16 16:29:58 +010031 - name: cpanm -v
32 run: cpanm -v
Marc Kupietz134bd872021-03-16 14:32:35 +010033 - name: Install dependencies
Marc Kupietza93b5862021-03-16 16:29:58 +010034 run: cpanm -n --installdeps .
Marc Kupietz134bd872021-03-16 14:32:35 +010035 - name: Install
36 run: |
37 perl Makefile.PL
38 make install
39 - name: Run tests
40 run: prove -lr t/