diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ee2dfecc..ca71a165 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -46,6 +46,10 @@ jobs: path: ~/im/imagemagick-${{ matrix.imagemagick }} key: ${{ runner.os }}-ImageMagick-${{ matrix.imagemagick }} + - name: Debug what is wrong with the libraries + run: | + bash ./debug_github_action_failing.sh + - name: Sanity check package.xml and install ImageMagick run: | for file in tests/*.phpt; do grep $(basename $file) package.xml >/dev/null || (echo "Missing $file from package.xml" ; exit 1); done @@ -149,6 +153,10 @@ jobs: path: ~/im/imagemagick-${{ matrix.imagemagick }} key: ${{ runner.os }}-ImageMagick-${{ matrix.imagemagick }} + - name: Debug what is wrong with the libraries + run: | + bash ./debug_github_action_failing.sh + - name: Sanity check package.xml and install ImageMagick run: | for file in tests/*.phpt; do grep $(basename $file) package.xml >/dev/null || (echo "Missing $file from package.xml" ; exit 1); done diff --git a/debug_github_action_failing.sh b/debug_github_action_failing.sh new file mode 100644 index 00000000..a9a6009b --- /dev/null +++ b/debug_github_action_failing.sh @@ -0,0 +1,15 @@ +#!/bin/sh + + +# set -e +set -x + +# Check contents of directories +#ls -l /usr +#ls -l /usr/local +#ls -l /usr/local/lib + +# see if randomly calling ldconfig helps +sudo ldconfig /usr/local/lib + +find /usr/lib -name libwebpdemux.so.2 2>/dev/null \ No newline at end of file