diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml deleted file mode 100644 index e520750..0000000 --- a/.github/workflows/cygwin.yml +++ /dev/null @@ -1,89 +0,0 @@ -name: cygwin - -on: - push: - branches: - - '*' - tags-ignore: - - '*' - pull_request: - -env: - PERL5LIB: /cygdrive/c/cx/lib/perl5 - PERL_LOCAL_LIB_ROOT: /cygdrive/cx - PERL_MB_OPT: --install_base /cygdrive/c/cx - PERL_MM_OPT: INSTALL_BASE=/cygdrive/c/cx - ALIEN_BUILD_PLUGIN_PKGCONFIG_COMMANDLINE_TEST: 1 # Test Alien::Build::Plugin::PkgConfig::CommandLine - CYGWIN_NOWINPATH: 1 - -jobs: - perl: - - runs-on: windows-latest - - strategy: - fail-fast: false - - defaults: - run: - shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}' - - steps: - - name: Set git to use LF - run: | - git config --global core.autocrlf false - git config --global core.eol lf - shell: powershell - - - uses: actions/checkout@v2 - - - name: Set up Cygwin - uses: egor-tensin/setup-cygwin@v3 - with: - platform: x64 - packages: make perl gcc-core gcc-g++ pkg-config libcrypt-devel libssl-devel git libffi-devel libarchive-devel - - - name: perl -V - run: | - perl -V - gcc --version - - - name: Prepare for cache - run: | - perl -V > perlversion.txt - gcc --version >> perlversion.txt - ls perlversion.txt - - - name: Cache CPAN modules - uses: actions/cache@v1 - with: - path: c:\cx - key: ${{ runner.os }}-build-cygwin-${{ hashFiles('perlversion.txt') }} - restore-keys: | - ${{ runner.os }}-build-cygwin-${{ hashFiles('perlversion.txt') }} - - - name: Install Static Dependencies - run: | - export PATH="/cygdrive/c/cx/bin:$PATH" - cd $( cygpath -u $GITHUB_WORKSPACE ) - yes | cpan App::cpanminus || true - cpanm -n Dist::Zilla - perl -S dzil authordeps --missing | perl -S cpanm -n - perl -S dzil listdeps --missing | perl -S cpanm -n - - - name: Install Dynamic Dependencies - run: | - export PATH="/cygdrive/c/cx/bin:$PATH" - cd $( cygpath -u $GITHUB_WORKSPACE ) - perl -S dzil run --no-build 'perl -S cpanm --installdeps .' - - - name: Run Tests - run: | - export PATH="/cygdrive/c/cx/bin:$PATH" - cd $( cygpath -u $GITHUB_WORKSPACE ) - perl -S dzil test -v - - - name: CPAN log - if: ${{ failure() }} - run: | - cat ~/.cpanm/latest-build/build.log diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 63cbf75..3847217 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -17,11 +17,12 @@ jobs: fail-fast: false matrix: cip: - - tag: static - - tag: "5.37" + - tag: "5.41" bundled_cmd: 0 - - tag: "5.36" + - tag: "5.40" bundled_cmd: 1 + - tag: "5.38" + bundled_cmd: 0 - tag: "5.36" bundled_cmd: 0 - tag: "5.34" @@ -56,7 +57,7 @@ jobs: ANYEVENT_FTP_BUNDLED_CMD: ${{ matrix.cip.bundled_cmd }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Bootstrap CIP run: | @@ -69,7 +70,7 @@ jobs: cip cache-key - name: Cache CPAN modules - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.cip key: ${{ runner.os }}-build-${{ steps.cache-key.outputs.key }} diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml deleted file mode 100644 index d2b8134..0000000 --- a/.github/workflows/macos.yml +++ /dev/null @@ -1,65 +0,0 @@ -name: macos - -on: - push: - branches: - - '*' - tags-ignore: - - '*' - pull_request: - -env: - PERL5LIB: /Users/runner/perl5/lib/perl5 - PERL_LOCAL_LIB_ROOT: /Users/runner/perl5 - PERL_MB_OPT: --install_base /Users/runner/perl5 - PERL_MM_OPT: INSTALL_BASE=/Users/runner/perl5 - -jobs: - perl: - - runs-on: macOS-latest - - strategy: - fail-fast: false - - steps: - - uses: actions/checkout@v2 - - - name: Set up Perl - run: | - brew install perl libffi libarchive - curl https://cpanmin.us | perl - App::cpanminus -n - echo "/Users/runner/perl5/bin" >> $GITHUB_PATH - - - name: perl -V - run: perl -V - - - name: Prepare for cache - run: | - perl -V > perlversion.txt - ls -l perlversion.txt - - - name: Cache CPAN modules - uses: actions/cache@v1 - with: - path: ~/perl5 - key: ${{ runner.os }}-build-${{ hashFiles('perlversion.txt') }} - restore-keys: | - ${{ runner.os }}-build-${{ hashFiles('perlversion.txt') }} - - - name: Install Static Dependencies - run: | - cpanm -n Dist::Zilla - dzil authordeps --missing | cpanm -n - dzil listdeps --missing | cpanm -n - - - name: Install Dynamic Dependencies - run: dzil run --no-build 'cpanm --installdeps .' - - - name: Run Tests - run: dzil test -v - - - name: CPAN log - if: ${{ failure() }} - run: | - cat ~/.cpanm/latest-build/build.log diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index cba7de1..c1d255e 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -17,7 +17,7 @@ jobs: CIP_TAG: static steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Bootstrap CIP run: | diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml deleted file mode 100644 index 913e2d0..0000000 --- a/.github/workflows/windows.yml +++ /dev/null @@ -1,70 +0,0 @@ -name: windows - -on: - push: - branches: - - '*' - tags-ignore: - - '*' - pull_request: - -env: - PERL5LIB: c:\cx\lib\perl5 - PERL_LOCAL_LIB_ROOT: c:/cx - PERL_MB_OPT: --install_base C:/cx - PERL_MM_OPT: INSTALL_BASE=C:/cx - -jobs: - perl: - - runs-on: windows-latest - - strategy: - fail-fast: false - - steps: - - name: Set git to use LF - run: | - git config --global core.autocrlf false - git config --global core.eol lf - - - uses: actions/checkout@v2 - - - name: Set up Perl - run: | - choco install strawberryperl - echo "C:\cx\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append - echo "C:\strawberry\c\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append - echo "C:\strawberry\perl\site\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append - echo "C:\strawberry\perl\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append - - - name: Prepare for cache - run: | - perl -V > perlversion.txt - - - name: Cache CPAN modules - uses: actions/cache@v1 - env: - cache-name: cache-cpan-modules - with: - path: c:\cx - key: ${{ runner.os }}-build-${{ hashFiles('perlversion.txt') }} - restore-keys: | - ${{ runner.os }}-build-${{ hashFiles('perlversion.txt') }} - - - name: perl -V - run: perl -V - - - name: Install Static Dependencies - run: | - cpanm -n Dist::Zilla - dzil authordeps --missing | cpanm -n - dzil listdeps --missing | cpanm -n - - - name: Install Dynamic Dependencies - run: dzil run --no-build 'cpanm --installdeps .' - - - name: Run Tests - run: dzil test -v - - diff --git a/Changes b/Changes index 5d90539..0e8b837 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,7 @@ Revision history for {{$dist->name}} {{$NEXT}} + - Remove EV as a suggested prereq (gh#36) 0.19 2022-04-12 10:33:09 -0600 - Fix prereq on autodie (gh#33) diff --git a/README.md b/README.md index af6e2bf..d81624b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# AnyEvent::FTP ![static](https://github.com/uperl/AnyEvent-FTP/workflows/static/badge.svg) ![linux](https://github.com/uperl/AnyEvent-FTP/workflows/linux/badge.svg) ![macos](https://github.com/uperl/AnyEvent-FTP/workflows/macos/badge.svg) ![windows](https://github.com/uperl/AnyEvent-FTP/workflows/windows/badge.svg) ![cygwin](https://github.com/uperl/AnyEvent-FTP/workflows/cygwin/badge.svg) ![msys2-mingw](https://github.com/uperl/AnyEvent-FTP/workflows/msys2-mingw/badge.svg) +# AnyEvent::FTP ![static](https://github.com/uperl/AnyEvent-FTP/workflows/static/badge.svg) ![linux](https://github.com/uperl/AnyEvent-FTP/workflows/linux/badge.svg) Simple asynchronous FTP client and server diff --git a/dist.ini b/dist.ini index 38adf02..a2b4922 100644 --- a/dist.ini +++ b/dist.ini @@ -14,9 +14,6 @@ github_user = uperl workflow = static workflow = linux -workflow = macos -workflow = windows -workflow = cygwin diag_preamble = | $post_diag = sub { diag_preamble = | use AnyEvent::FTP::Server::Context::FSRW; @@ -64,15 +61,13 @@ remove = Path::Class::Dir ; optional for testing remove = Data::HexDump +remove = EV + [Prereqs] perl = 5.010 PerlIO::eol = 0 Path::Class = 0 -[Prereqs / SuggestedPrereqs] --relationship = recommends -EV = 0 - [MetaNoIndex] directory = example directory = tools diff --git a/t/00_diag.t b/t/00_diag.t index 4c4d0db..cdd9d44 100644 --- a/t/00_diag.t +++ b/t/00_diag.t @@ -9,11 +9,9 @@ eval { require 'Test/More.pm' }; my %modules; my $post_diag; -BEGIN { eval q{ use EV; } } $modules{$_} = $_ for qw( AnyEvent Capture::Tiny - EV ExtUtils::MakeMaker File::ShareDir::Dist File::ShareDir::Install