Tinker with *BSD workflow #10
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |