From a58149cadbe7bcd44a0e3146f08f9fad9833f81d Mon Sep 17 00:00:00 2001 From: Tony Cook Date: Thu, 15 Sep 2022 19:48:47 +1000 Subject: [PATCH] test many of Imager's reverse dependencies This way any compatibility breakage should be deliberate instead of accidental. --- .github/workflows/reverse-deps.yml | 83 ++++++++++++++++++++++++++++++ MANIFEST.SKIP | 2 +- 2 files changed, 84 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/reverse-deps.yml diff --git a/.github/workflows/reverse-deps.yml b/.github/workflows/reverse-deps.yml new file mode 100644 index 00000000..f501c6eb --- /dev/null +++ b/.github/workflows/reverse-deps.yml @@ -0,0 +1,83 @@ +name: reverse-deps + +on: + push: + branches: + - '**' + tags-ignore: + - '*' + pull_request: + + +jobs: + reverse-deps: + runs-on: ubuntu-latest + timeout-minutes: 10 + steps: + - name: install dependencies + run: | + sudo apt-get update ||: + sudo apt-get -y install build-essential libtiff-dev libpng-dev libgif-dev libfreetype6-dev libjpeg-dev libinline-c-perl libparse-recdescent-perl cpanminus libwebp-dev libheif-dev libtest-warnings-perl libscope-guard-perl libsub-info-perl liblist-someutils-perl libtest-leaktrace-perl libtest-exception-perl libsub-uplevel-perl libgd-perl libterm-table-perl libmodule-pluggable-perl libmodule-build-perl libtest-fatal-perl libnet-http-perl libtest-requires-perl libtest-output-perl libcwd-guard-perl libmouse-perl libmodule-build-xsutil-perl libfile-copy-recursive-reduced-perl libdevel-checkcompiler-perl libextutils-helpers-perl libextutils-installpaths-perl libextutils-config-perl libtest-number-delta-perl libwww-perl libtest-needs-perl libnet-http-perl libhttp-daemon-perl libwww-robotrules-perl libfile-listing-perl libtest-requiresinternet-perl libhttp-negotiate-perl libdatetime-locale-perl libspecio-perl libfile-sharedir-install-perl + - name: checkout + uses: actions/checkout@v2 + - name: configure + run: | + perl Makefile.PL + - name: build + run: | + make -j2 + - name: test + run: | + HARNESS_OPTIONS=j2 IMAGER_AUTHOR_TESTING=1 make test + - name: install + run: sudo make install + - name: Imager-File-WEBP + run: cpanm --sudo -v Imager::File::WEBP + - name: Imager-File-APNG + run: cpanm --sudo -v Imager::File::APNG + - name: Imager-File-QOI + run: cpanm --sudo -v Imager::File::QOI + - name: Imager-File-HEIF + run: cpanm --sudo -v Imager::File::HEIF + - name: Music::FretboardDiagram + run: cpanm --sudo -v Music::FretboardDiagram + - name: Image::PHash + run: cpanm --sudo -v Image::PHash + - name: Geo::OSM::Imager + run: cpanm --sudo -v Geo::OSM::Imager + - name: Imager::IMBarcode::JP + run: cpanm --sudo -v Imager::IMBarcode::JP + # https://rt.cpan.org/Public/Bug/Display.html?id=136799 + #- name: Graphics::Framebuffer + # run: cpanm --sudo-v Graphics::Framebuffer + # needs perl 5.32, and ubuntu is 5.30 + #- name: Games::Simutrans::Pakset + # run: cpanm --sudo -v Games::Simutrans::Pakset + - name: Tree::Cladogram + run: cpanm --sudo -v Tree::Cladogram + - name: Image::Checkerboard + run: cpanm --sudo -v Image::Checkerboard + - name: Image::Base::Imager + run: cpanm --sudo -v Image::Base::Imager + - name: Imager::Filter::Statistic + run: cpanm --sudo -v Imager::Filter::Statistic + - name: Imager::Barcode128 + run: cpanm --sudo -v Imager::Barcode128 + - name: Imager::Filter::Autocrop + run: cpanm --sudo -v Imager::Filter::Autocrop + - name: Imager::Filter::Bakumatsu + run: cpanm --sudo -v Imager::Filter::Bakumatsu + - name: Imager::Trim + run: cpanm --sudo -v Imager::Trim + - name: Ham::WorldMap + run: cpanm --sudo -v Ham::WorldMap + - name: Image::Select + run: cpanm --sudo -v Image::Select + - name: Imager::Filter::Statistic + run: cpanm --sudo -v Imager::Filter::Statistic + - name: Imager::QRCode + run: cpanm --sudo -v Imager::QRCode + - name: Image::JpegMinimal + run: cpanm --sudo -v Image::JpegMinimal + - name: Acme::DreamyImage + run: cpanm --sudo -v Acme::DreamyImage diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP index fc6561ce..f4de0eda 100644 --- a/MANIFEST.SKIP +++ b/MANIFEST.SKIP @@ -48,7 +48,7 @@ # trash left by Inline::C -^_Inline/ +\b_Inline/ # distributions built ^Imager-\d\.\d+(_\d+)?\.tar\.gz$