mirror of
https://github.com/php/php-src.git
synced 2024-09-21 01:47:25 +00:00
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:
parent
274ae05c4e
commit
d5b3ffa762
1
.github/actions/apt-x64/action.yml
vendored
1
.github/actions/apt-x64/action.yml
vendored
@ -39,6 +39,7 @@ runs:
|
||||
libsqlite3-dev \
|
||||
libsqlite3-mod-spatialite \
|
||||
libwebp-dev \
|
||||
libavif-dev \
|
||||
libonig-dev \
|
||||
libcurl4-openssl-dev \
|
||||
libxml2-dev \
|
||||
|
1
.github/actions/configure-x64/action.yml
vendored
1
.github/actions/configure-x64/action.yml
vendored
@ -28,6 +28,7 @@ runs:
|
||||
--enable-gd \
|
||||
--with-jpeg \
|
||||
--with-webp \
|
||||
--with-avif \
|
||||
--with-freetype \
|
||||
--with-xpm \
|
||||
--enable-exif \
|
||||
|
Loading…
Reference in New Issue
Block a user