Skip to content

Tinker with *BSD workflow #25

Tinker with *BSD workflow

Tinker with *BSD workflow #25

Workflow file for this run

name: Linux
on:
push:
branches: '*'
pull_request:
branches: '*'
jobs:
perl-job:
strategy:
fail-fast: false
matrix:
runner: [ubuntu-latest]
perl: [ '5.20', '5.26', '5.30', '5.32', 'latest' ]
runs-on: ${{matrix.runner}}
name: OS ${{matrix.runner}} Perl ${{matrix.perl}}
#container:
# image: perl:${{ matrix.perl-version }}
steps:
- uses: actions/checkout@v4
- name: Set up perl
uses: shogo82148/actions-setup-perl@v1
with:
perl-version: ${{ matrix.perl }}
- name: perl -V
run: perl -V
- name: Regular Tests
run: |
cpanm -v --mirror http://cpan.cpantesters.org/ .
- name: Show content of log files on Linux
if: ${{ failure() && startsWith( matrix.runner, 'ubuntu-' ) }}
run: cat /home/runner/.cpanm/work/*/build.log
- name: Show content of log files on Mac
if: ${{ failure() && startsWith( matrix.runner, 'macos-' ) }}
run: cat /Users/runner/.cpanm/work/*/build.log
- name: Show content of log files on Windows
if: ${{ failure() && startsWith( matrix.runner, 'windows-' ) }}
run: cat C:\Users\RUNNER~1\.cpanm\work\*\build.log