Bump cross-platform-actions/action from 0.24.0 to 0.25.0 #218
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
on: [push, pull_request] | |
name: Linux | |
jobs: | |
list: | |
name: list available perl versions | |
runs-on: 'ubuntu-latest' | |
steps: | |
- uses: shogo82148/actions-setup-perl@v1 | |
- id: set-matrix | |
name: list available perl versions | |
shell: perl {0} | |
run: | | |
use Actions::Core; | |
set_output(matrix => {perl => [grep { $_ !~ /^5\.6/ } perl_versions()]}); | |
outputs: | |
matrix: ${{ steps.set-matrix.outputs.matrix }} | |
build: | |
runs-on: 'ubuntu-latest' | |
needs: list | |
strategy: | |
fail-fast: false | |
matrix: ${{fromJson(needs.list.outputs.matrix)}} | |
name: Perl ${{ matrix.perl }} | |
steps: | |
- name: check out code | |
uses: actions/checkout@v4 | |
- name: switch to perl ${{ matrix.perl }} | |
uses: shogo82148/actions-setup-perl@v1 | |
with: | |
perl-version: ${{ matrix.perl }} | |
- name: run tests | |
env: | |
PERL_USE_UNSAFE_INC: 0 | |
run: | | |
perl -v | |
cpanm Expect ExtUtils::MakeMaker Test::Pod Test::Pod::Coverage || cat /home/runner/.cpanm/work/*/build.log | |
perl -Mparent -e0 || cpanm parent | |
rm -rf /home/runner/.cpanm/work/* | |
cpanm --installdeps . || cat /home/runner/.cpanm/work/*/build.log | |
perl makefile-expect-driver.pl Linux::Debian Linux::Ubuntu Linux Unix OSFeatures::Systemd OSFeatures::POSIXShellRedirection HWCapabilities::Int64 | |
make test TEST_VERBOSE=1 |