Skip to content

Commit

Permalink
And so the long day wore on.
Browse files Browse the repository at this point in the history
  • Loading branch information
Danack committed Jul 6, 2024
1 parent a66f84a commit 87774e5
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
15 changes: 15 additions & 0 deletions debug_github_action_failing.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 87774e5

Please sign in to comment.