Skip to content

Commit

Permalink
Fix Github actions for WebP
Browse files Browse the repository at this point in the history
  • Loading branch information
ksubileau committed Feb 7, 2021
1 parent 81056d9 commit 11ab120
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,19 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Install WebP libs
run: |
sudo apt libwebp-dev build-dep imagemagick
wget https://imagemagick.org/download/ImageMagick.tar.gz
tar xvzf ImageMagick.tar.gz
cd into the dir
./configure --with-webp=yes
sudo make
sudo make install
sudo ldconfig /usr/local/lib
- name: Install PHP with extensions
uses: shivammathur/setup-php@master
uses: shivammathur/setup-php@verbose
with:
php-version: ${{ matrix.php-version }}
extensions: ${{ matrix.php-extensions }}
Expand Down

0 comments on commit 11ab120

Please sign in to comment.