ext/gd: enable avif tests on GH-Actions (#15850)

When the avif support was first added (GH-7026), php-src did not
use GitHub Actions. When we moved to GitHub Actions for CI, the
`--with-avif` option nor the `libavif-dev` dependencies were not
added.

Cirrus CI still runs the tests, and now that we no longer use
Travis CI, this brings parity to test avif on x64 tests on
GitHub Actions as well.

`libavif-dev` package's x86 builds seem to be missing[^1][^2] on older
Ubuntu versions, so this commit only adds it for x64 builds.

[^1]: https://packages.ubuntu.com/jammy/libavif-dev
[^2]: https://packages.ubuntu.com/noble/libavif-dev
This commit is contained in:
Ayesh Karunaratne 2024-09-15 19:57:47 +07:00 committed by GitHub
parent 274ae05c4e
commit d5b3ffa762
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,7 @@ runs:
libsqlite3-dev \ libsqlite3-dev \
libsqlite3-mod-spatialite \ libsqlite3-mod-spatialite \
libwebp-dev \ libwebp-dev \
libavif-dev \
libonig-dev \ libonig-dev \
libcurl4-openssl-dev \ libcurl4-openssl-dev \
libxml2-dev \ libxml2-dev \

View File

@ -28,6 +28,7 @@ runs:
--enable-gd \ --enable-gd \
--with-jpeg \ --with-jpeg \
--with-webp \ --with-webp \
--with-avif \
--with-freetype \ --with-freetype \
--with-xpm \ --with-xpm \
--enable-exif \ --enable-exif \