-
Notifications
You must be signed in to change notification settings - Fork 1
42 lines (37 loc) · 1.04 KB
/
linux_old_versions.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
name: linux_old_versions
on:
push:
branches:
- main
tags-ignore:
- '*'
paths-ignore:
- '**/*.md'
- '**/.gitignore'
jobs:
perl:
runs-on: ubuntu-latest
strategy:
matrix:
perl-version:
- '5.12'
- '5.28'
- '5.36'
container:
image: perl:${{ matrix.perl-version }}
steps:
- uses: actions/checkout@v3
- name: perl -V
run: perl -V
- name: Install dependencies
run: curl -sL https://git.io/cpm | perl - install -g --with-recommends --with-test --with-configure --show-build-log-on-failure
if: matrix.perl-version == '5.8'
- name: Install dependencies With develop
run: curl -sL https://git.io/cpm | perl - install -g --with-recommends --with-test --with-configure --with-develop --show-build-log-on-failure
if: matrix.perl-version != '5.8'
- name: Run build
run: perl Build.PL
- name: Build manifest
run: ./Build manifest
- name: Run test
run: ./Build test