From 054fcbaedef4140f0ac1bb96853d400e72298234 Mon Sep 17 00:00:00 2001 From: Graham Ollis Date: Sun, 22 Dec 2024 14:26:42 -0700 Subject: [PATCH 1/2] automatic migration: bump-2024 --- .github/workflows/cygwin.yml | 89 ------------------------------------ .github/workflows/linux.yml | 8 ++-- .gitignore | 2 + .vscode/settings.json | 6 +++ README.md | 4 +- dist.ini | 5 +- 6 files changed, 17 insertions(+), 97 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 e6ae057..96ef23a 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -17,10 +17,12 @@ jobs: fail-fast: false matrix: cip_tag: - - "5.37" + - "5.41" + - "5.40" + - "5.40-alpine3.16" + - "5.40-centos7" + - "5.38" - "5.36" - - "5.36-alpine3.16" - - "5.36-centos7" - "5.34" - "5.32" - "5.30" diff --git a/.gitignore b/.gitignore index 2d390ee..64c9208 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ /FFI-CheckLib-* /.build *.swp +*.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 1c5a5c0..5850ae0 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# FFI::CheckLib ![static](https://github.com/PerlFFI/FFI-CheckLib/workflows/static/badge.svg) ![linux](https://github.com/PerlFFI/FFI-CheckLib/workflows/linux/badge.svg) ![macos](https://github.com/PerlFFI/FFI-CheckLib/workflows/macos/badge.svg) ![cygwin](https://github.com/PerlFFI/FFI-CheckLib/workflows/cygwin/badge.svg) +# FFI::CheckLib ![static](https://github.com/PerlFFI/FFI-CheckLib/workflows/static/badge.svg) ![linux](https://github.com/PerlFFI/FFI-CheckLib/workflows/linux/badge.svg) ![macos](https://github.com/PerlFFI/FFI-CheckLib/workflows/macos/badge.svg) Check that a library is available for FFI @@ -386,7 +386,7 @@ Carlos D. Álvaro (cdalvaro) # COPYRIGHT AND LICENSE -This software is copyright (c) 2014-2022 by Graham Ollis. +This software is copyright (c) 2014-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 bea8b4a..6ed5bb1 100644 --- a/dist.ini +++ b/dist.ini @@ -2,11 +2,11 @@ name = FFI-CheckLib author = Graham Ollis license = Perl_5 copyright_holder = Graham Ollis -copyright_year = 2014-2022 +copyright_year = 2014-2024 version = 0.31 [@Author::Plicease] -:version = 2.72 +:version = 2.79 release_tests = 1 irc = irc://irc.perl.org/#native test2_v0 = 1 @@ -19,7 +19,6 @@ github_repo = FFI-CheckLib workflow = static workflow = linux workflow = macos -workflow = cygwin [RemovePrereqs] remove = strict From 9e6c34568e187ea70fff865347dcd0c1c887d6ae Mon Sep 17 00:00:00 2001 From: Graham Ollis Date: Mon, 23 Dec 2024 05:50:54 -0700 Subject: [PATCH 2/2] remove centos7 from ci --- .github/workflows/linux.yml | 1 - author.yml | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 96ef23a..350fa06 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -20,7 +20,6 @@ jobs: - "5.41" - "5.40" - "5.40-alpine3.16" - - "5.40-centos7" - "5.38" - "5.36" - "5.34" diff --git a/author.yml b/author.yml index ff55158..491f2ab 100644 --- a/author.yml +++ b/author.yml @@ -26,6 +26,7 @@ pod_spelling_system: - MacPorts - cdalvaro - lvaro + - Álvaro pod_coverage: