From 28131db4387a9e58672cc520c37c40a903408884 Mon Sep 17 00:00:00 2001 From: Graham Ollis Date: Sun, 22 Dec 2024 14:27:19 -0700 Subject: [PATCH] automatic migration: bump-2024 --- .github/workflows/cygwin.yml | 89 ------------------------------------ .github/workflows/linux.yml | 4 +- .gitignore | 2 + .vscode/settings.json | 6 +++ README.md | 4 +- dist.ini | 5 +- 6 files changed, 15 insertions(+), 95 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 d3d2f21..5848471 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -17,7 +17,9 @@ jobs: fail-fast: false matrix: cip_tag: - - "5.37" + - "5.41" + - "5.40" + - "5.38" - "5.36" - "5.34" - "5.32" diff --git a/.gitignore b/.gitignore index f41102c..fef098a 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,5 @@ *.so *.dylib *.bundle +*.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 0b7ce12..f0979c7 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# FFI::ExtractSymbols ![linux](https://github.com/PerlFFI/FFI-ExtractSymbols/workflows/linux/badge.svg) ![windows](https://github.com/PerlFFI/FFI-ExtractSymbols/workflows/windows/badge.svg) ![cygwin](https://github.com/PerlFFI/FFI-ExtractSymbols/workflows/cygwin/badge.svg) ![msys2-mingw](https://github.com/PerlFFI/FFI-ExtractSymbols/workflows/msys2-mingw/badge.svg) +# FFI::ExtractSymbols ![linux](https://github.com/PerlFFI/FFI-ExtractSymbols/workflows/linux/badge.svg) ![windows](https://github.com/PerlFFI/FFI-ExtractSymbols/workflows/windows/badge.svg) ![msys2-mingw](https://github.com/PerlFFI/FFI-ExtractSymbols/workflows/msys2-mingw/badge.svg) Extract symbol names from a shared object or DLL @@ -108,7 +108,7 @@ Sanko Robinson (SANKO) # COPYRIGHT AND LICENSE -This software is copyright (c) 2015 by Graham Ollis. +This software is copyright (c) 2015-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 5c2d1df..b258b59 100644 --- a/dist.ini +++ b/dist.ini @@ -2,11 +2,11 @@ name = FFI-ExtractSymbols author = Graham Ollis license = Perl_5 copyright_holder = Graham Ollis -copyright_year = 2015-2022 +copyright_year = 2015-2024 version = 0.07 [@Author::Plicease] -:version = 2.69 +:version = 2.79 release_tests = 1 installer = Author::Plicease::MakeMaker irc = irc://irc.perl.org/#native @@ -14,7 +14,6 @@ github_user = PerlFFI workflow = linux workflow = windows -workflow = cygwin workflow = msys2-mingw [RemovePrereqs]