diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml new file mode 100644 index 0000000..5848471 --- /dev/null +++ b/.github/workflows/linux.yml @@ -0,0 +1,82 @@ +name: linux + +on: + push: + branches: + - '*' + tags-ignore: + - '*' + pull_request: + +jobs: + perl: + + runs-on: ubuntu-latest + + strategy: + fail-fast: false + matrix: + cip_tag: + - "5.41" + - "5.40" + - "5.38" + - "5.36" + - "5.34" + - "5.32" + - "5.30" + - "5.28" + - "5.26" + - "5.24" + - "5.22" + - "5.20" + - "5.18" + - "5.16" + - "5.14" + - "5.12" + - "5.10" + - "5.8" + + env: + CIP_TAG: ${{ matrix.cip_tag }} + + steps: + - uses: actions/checkout@v2 + + - name: Bootstrap CIP + run: | + curl -L https://raw.githubusercontent.com/uperl/cip/main/bin/github-bootstrap | bash + + - name: Cache-Key + id: cache-key + run: | + echo -n '::set-output name=key::' + cip cache-key + + - name: Cache CPAN modules + uses: actions/cache@v2 + with: + path: ~/.cip + key: ${{ runner.os }}-build-${{ steps.cache-key.outputs.key }} + restore-keys: | + ${{ runner.os }}-build-${{ steps.cache-key.outputs.key }} + + - name: Start-Container + run: | + cip start + + - name: Diagnostics + run: | + cip diag + + - name: Install-Dependencies + run: | + cip install + + - name: Build + Test + run: | + cip script + + - name: CPAN log + if: ${{ failure() }} + run: | + cip exec bash -c 'cat $HOME/.cpanm/latest-build/build.log' diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index d5a461d..0000000 --- a/.travis.yml +++ /dev/null @@ -1,10 +0,0 @@ -language: perl -perl: - - "5.16" - - "5.14" - - "5.12" - - "5.10" - - "5.8" - -install: - - cpanm --quiet --installdeps --notest . || { cat ~/.cpanm/build.log ; false ; } diff --git a/Changes b/Changes index b9366b9..02a7a13 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,7 @@ Revision history for Perl module IO::Event + - use List::SomeUtils instead of List::MoreUtils (works around a + broken dep in List::MoreUtils) (gh#10 - fixed a pod formatting goof - fixed the repository line in the Makefile.PL diff --git a/Makefile.PL b/Makefile.PL old mode 100755 new mode 100644 index bcb18fd..be1f006 --- a/Makefile.PL +++ b/Makefile.PL @@ -13,7 +13,7 @@ WriteMakefile( AUTHOR => 'David Muir Sharnoff ', META_MERGE => { resources => { - repository => 'http://github.com/muir/IO-Event', + repository => 'http://github.com/uperl/IO-Event', }, }, ) @@ -23,7 +23,7 @@ WriteMakefile( 'PREREQ_PM' => { 'IO::Handle' => 0, 'Time::HiRes' => 0, - 'List::MoreUtils' => 0, + 'List::SomeUtils' => 0, }, 'BUILD_REQUIRES' => { 'Event' => 0, diff --git a/lib/IO/Event.pm b/lib/IO/Event.pm index bad0fab..b522c2f 100644 --- a/lib/IO/Event.pm +++ b/lib/IO/Event.pm @@ -1196,7 +1196,7 @@ use warnings; use strict; use warnings; -use List::MoreUtils qw(any); +use List::SomeUtils qw(any); our @ISA = qw(IO::Event); diff --git a/t/callbacks.tt b/t/callbacks.tt old mode 100755 new mode 100644 diff --git a/t/callbacks1.t b/t/callbacks1.t old mode 100755 new mode 100644 diff --git a/t/callbacks2.t b/t/callbacks2.t old mode 100755 new mode 100644 diff --git a/t/callbacks3.t b/t/callbacks3.t old mode 100755 new mode 100644 diff --git a/t/forked.tt b/t/forked.tt old mode 100755 new mode 100644 diff --git a/t/forked1.t b/t/forked1.t old mode 100755 new mode 100644 diff --git a/t/forked2.t b/t/forked2.t old mode 100755 new mode 100644 diff --git a/t/forked3.t b/t/forked3.t old mode 100755 new mode 100644 diff --git a/t/getline.tt b/t/getline.tt old mode 100755 new mode 100644 diff --git a/t/getline1.t b/t/getline1.t old mode 100755 new mode 100644 diff --git a/t/getline2.t b/t/getline2.t old mode 100755 new mode 100644 diff --git a/t/getline3.t b/t/getline3.t old mode 100755 new mode 100644 diff --git a/t/multifork1.t b/t/multifork1.t old mode 100755 new mode 100644 diff --git a/t/multifork2.t b/t/multifork2.t old mode 100755 new mode 100644 diff --git a/t/multifork3.t b/t/multifork3.t old mode 100755 new mode 100644 diff --git a/t/timer1.t b/t/timer1.t old mode 100755 new mode 100644 diff --git a/t/timer2.t b/t/timer2.t old mode 100755 new mode 100644 diff --git a/t/timer3.t b/t/timer3.t old mode 100755 new mode 100644