summaryrefslogtreecommitdiff
path: root/.github/workflows/perl.yml
blob: 4654ace40b289e3ace6f662c95df01fb5c8731a0 (plain)
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
name: linux

on:
  push:
    branches:
      - '*'
  pull_request:
    branches:
      - '*'

jobs:
  perl:

    runs-on: ubuntu-latest

    strategy:
      matrix:
        perl-version:
          - '5.30'
          - 'latest'
          - 'threaded'

    container:
      image: perl:${{ matrix.perl-version }}

    steps:
      - uses: actions/checkout@v2
      - name: perl -V
        run: perl -V
      - name: Initialize Submodules
        run: git submodule update --init
      - name: Install Dependencies
        run: curl -sL https://raw.githubusercontent.com/skaji/cpm/master/cpm | perl - install -g --show-build-log-on-failure
      - name: Prepare Build
        run: perl Build.PL
      - name: build
        run: ./Build
      - name: Run Tests
        run: prove -l t