Skip to content

Commit

Permalink
Corrected installing ImageMagick on cifuzz
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Jan 2, 2025
1 parent 48712f2 commit ef26c17
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/wheels-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function build_harfbuzz {

function build {
build_xz
if [ -z "$IS_ALPINE" ] && [ -z "$IS_MACOS" ]; then
if [ -n "$(command -v yum)" ]; then
yum remove -y zlib-devel
fi
build_zlib_ng
Expand Down Expand Up @@ -138,11 +138,13 @@ function build {
# For giflib 5.2.2
elif [ -n "$IS_ALPINE" ]; then
apk add imagemagick
else
elif [ -n "$(command -v yum)" ]; then
if [[ "$MB_ML_VER" == "_2_28" ]]; then
yum install -y epel-release
fi
yum install -y ImageMagick
else
apt-get install -y imagemagick
fi
build_libwebp
CFLAGS=$ORIGINAL_CFLAGS
Expand Down

0 comments on commit ef26c17

Please sign in to comment.