rosell-dk / webp-convert

Convert jpeg/png to webp with PHP (if at all possible)
MIT License
576 stars 101 forks source link

Install vips on ci test #324

Closed rosell-dk closed 2 years ago

rosell-dk commented 2 years ago

Tried the old shell script I used for travis ci. Building seems to have worked, but it failed installing the extension. https://github.com/rosell-dk/webp-convert/runs/4405804342?check_suite_focus=true

rosell-dk commented 2 years ago

We could look here for inspiration: https://github.com/libvips/libvips/blob/master/.github/workflows/ci.yml

rosell-dk commented 2 years ago

Ta-dah! It was as easy as adding "vips" to the extensions for setup-php:

    - name: Setup PHP
      uses: shivammathur/setup-php@v2
      with:
        php-version: '8.0'
        extensions: exif, mbstring, fileinfo, gd, vips