Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
add ImageMagick to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
UltimateNyn committed Aug 12, 2022
1 parent a953047 commit cb14493
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,59 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Build ImageMagick
run: |
wget https://imagemagick.org/archive/ImageMagick.tar.gz
tar -xf ImageMagick.tar.gz
pushd ImageMagick-7*
# disable most stuff to improve build time
./configure --enable-static=no\
--with-utilities=no\
--with-modules=no\
--enable-hdri=no\
--with-jemalloc=no\
--with-tcmalloc=no\
--with-umem=no\
--with-bzlib=no\
--with-autotrace=no\
--with-djvu=no\
--with-dps=no\
--with-fftw=no\
--with-flif=no\
--with-fpx=no\
--with-fontconfig=no\
--with-freetype=no\
--with-gslib=no\
--with-gvc=no\
--with-heic=no\
--with-jbig=no\
--with-jpeg=no\
--with-jxl=no\
--with-lcms=no\
--with-lqr=no\
--with-ltdl=no\
--with-lzma=no\
--with-magick-plus-plus=no\
--with-openexr=no\
--with-openjp2=no\
--with-pango=no\
--with-perl=no\
--with-png=no\
--with-raqm=no\
--with-raw=no\
--with-rsvg=no\
--with-tiff=no\
--with-webp=no\
--with-wmf=no\
--with-x=no\
--with-xml=no\
--with-zip=no\
--with-zlib=no\
--with-zstd=no
make
sudo make install
sudo ldconfig /usr/local/lib
popd
- name: Install PostgreSQL client
run: |
sudo apt-get update
Expand Down

0 comments on commit cb14493

Please sign in to comment.