Bump cross-platform-actions/action from 0.15.0 to 0.17.0 #280
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 (normal build and install) | |
jobs: | |
build: | |
runs-on: 'ubuntu-latest' | |
name: Perl 5.32 normal build and install | |
steps: | |
- name: check out code | |
uses: actions/checkout@v3 | |
- name: switch to perl 5.32 | |
uses: shogo82148/actions-setup-perl@v1 | |
with: | |
perl-version: 5.32 | |
- name: run tests | |
env: | |
BUILD_TEST: 1 | |
PERL_USE_UNSAFE_INC: 0 | |
run: | | |
perl -v | |
perl -MData::Dumper -e 'eval "use Number::Phone"; if(!$@) { print "Number::Phone is already installed, argh\n".Dumper(\%INC); exit(1) } else { print "Number::Phone not yet installed, hurrah\n"; exit(0) }' | |
cpanm --quiet --notest ExtUtils::MakeMaker Test::Pod Test::Pod::Coverage parent | |
cpanm --quiet --notest Data::Dumper::Concise File::ShareDir::Install XML::XPath Data::CompactReadonly File::Find::Rule Spreadsheet::XLSX Text::CSV_XS LWP::Protocol::https | |
cpanm --quiet --notest --installdeps . | |
./build-data.sh | |
perl Makefile.PL | |
make test TEST_VERBOSE=1 | |
make install | |
perl -MData::Dumper::Concise -MNumber::Phone -e 'if(Number::Phone->new("+447979866975")->operator() =~ /vodafone/i) { print "N::P::UK built/installed correctly\n".Dumper(\%INC); exit(0) } else { print "N::P::UK build/install failed\n"; exit(1) }' |