From 4fea4fa89314a3fca7f74edecf18e579c6dec3aa Mon Sep 17 00:00:00 2001 From: Graham Ollis Date: Sun, 22 Dec 2024 14:50:29 -0700 Subject: [PATCH] automatic migration: bump-2024 --- .github/workflows/cygwin.yml | 89 ------------------------------------ .github/workflows/linux.yml | 14 +++--- .gitignore | 2 + .vscode/settings.json | 6 +++ README.md | 4 +- dist.ini | 5 +- 6 files changed, 20 insertions(+), 100 deletions(-) delete mode 100644 .github/workflows/cygwin.yml create mode 100644 .vscode/settings.json 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 e191eb6..a97a3be 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -18,17 +18,19 @@ jobs: matrix: cip_tag: - static - - tag: "5.37" - - tag: "5.36" + - tag: "5.41" + - tag: "5.40" env: ALIEN_DOWNLOAD_RULE=warn - - tag: "5.36" + - tag: "5.40" env: ALIEN_DOWNLOAD_RULE=digest - - tag: "5.36" + - tag: "5.40" env: ALIEN_DOWNLOAD_RULE=encrypt - - tag: "5.36" + - tag: "5.40" env: ALIEN_DOWNLOAD_RULE=digest_or_encrypt - - tag: "5.36" + - tag: "5.40" env: ALIEN_DOWNLOAD_RULE=digest_and_encrypt + - tag: "5.40" + - tag: "5.38" - tag: "5.36" - tag: "5.34" - tag: "5.32" diff --git a/.gitignore b/.gitignore index 25d5b5e..5b4f4cd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ /Alien-Build-Plugin-Fetch-Prompt-* /.build +*.old +*.orig diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..578c5ee --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,6 @@ +{ + "pls.perlcritic.perlcriticrc": "perlcriticrc", + "pls.inc": [ + "$ROOT_PATH/lib" + ] +} diff --git a/README.md b/README.md index f15140c..5a7a80d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Alien::Build::Plugin::Fetch::Prompt ![linux](https://github.com/plicease/Alien-Build-Plugin-Fetch-Prompt/workflows/linux/badge.svg) ![macos](https://github.com/plicease/Alien-Build-Plugin-Fetch-Prompt/workflows/macos/badge.svg) ![windows](https://github.com/plicease/Alien-Build-Plugin-Fetch-Prompt/workflows/windows/badge.svg) ![cygwin](https://github.com/plicease/Alien-Build-Plugin-Fetch-Prompt/workflows/cygwin/badge.svg) ![msys2-mingw](https://github.com/plicease/Alien-Build-Plugin-Fetch-Prompt/workflows/msys2-mingw/badge.svg) +# Alien::Build::Plugin::Fetch::Prompt ![linux](https://github.com/plicease/Alien-Build-Plugin-Fetch-Prompt/workflows/linux/badge.svg) ![macos](https://github.com/plicease/Alien-Build-Plugin-Fetch-Prompt/workflows/macos/badge.svg) ![windows](https://github.com/plicease/Alien-Build-Plugin-Fetch-Prompt/workflows/windows/badge.svg) ![msys2-mingw](https://github.com/plicease/Alien-Build-Plugin-Fetch-Prompt/workflows/msys2-mingw/badge.svg) Alien::Build plugin to prompt a user before making external download @@ -45,7 +45,7 @@ Graham Ollis # COPYRIGHT AND LICENSE -This software is copyright (c) 2017-2022 by Graham Ollis. +This software is copyright (c) 2017-2024 by Graham Ollis. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. diff --git a/dist.ini b/dist.ini index 1bac18d..471c986 100644 --- a/dist.ini +++ b/dist.ini @@ -2,11 +2,11 @@ name = Alien-Build-Plugin-Fetch-Prompt author = Graham Ollis license = Perl_5 copyright_holder = Graham Ollis -copyright_year = 2017-2022 +copyright_year = 2017-2024 version = 0.61 [@Author::Plicease] -:version = 2.69 +:version = 2.79 release_tests = 1 installer = Author::Plicease::MakeMaker irc = irc://irc.perl.org/#native @@ -16,7 +16,6 @@ github_user = plicease workflow = linux workflow = macos workflow = windows -workflow = cygwin workflow = msys2-mingw [RemovePrereqs]