diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6e8cc6058..42a2f27cf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -59,10 +59,18 @@ jobs: - name: Compress Image run: | sudo apt-get update - sudo apt-get install -y software-properties-common - sudo add-apt-repository ppa:ubuntuhandbook1/imagemagick - sudo apt-get update - sudo apt-get install -y imagemagick + sudo apt-get install -y build-essential libx11-dev libxext-dev zlib1g-dev \ + libpng-dev libjpeg-dev libfreetype6-dev libxml2-dev liblcms2-dev \ + libopenexr-dev libtiff-dev libraw-dev libheif-dev libde265-dev \ + libfftw3-dev libglib2.0-dev libwebp-dev + + wget https://download.imagemagick.org/ImageMagick/download/ImageMagick.tar.gz + tar xvzf ImageMagick.tar.gz + cd ImageMagick-7.* + ./configure + make + sudo make install + sudo ldconfig /usr/local/lib convert -version