-
Notifications
You must be signed in to change notification settings - Fork 37
52 lines (43 loc) · 999 Bytes
/
linux.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: Linux
on:
push:
branches: [ '*' ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
perl-version:
- '5.8-buster'
- '5.10-buster'
- '5.12-buster'
- '5.14-buster'
- '5.16-buster'
- '5.18-buster'
- '5.20-buster'
- '5.22-buster'
- '5.24-buster'
- '5.26-buster'
- '5.28-buster'
- '5.30-bullseye'
- '5.32-bullseye'
- '5.34-bullseye'
- '5.36-bookworm'
- '5.38-bookworm'
- 'latest'
container:
image: perl:${{ matrix.perl-version }}
steps:
- uses: actions/checkout@v3
- run: perl -V
- name: Install deps
run: >
cpanm --quiet --notest --local-lib ~/perl
Test::More Test::Base
- name: Run tests
run: |
export PERL5LIB=$HOME/perl/lib/perl5
PATH=$HOME/perl/bin:$PATH
perl Makefile.PL && make && make test