Skip to content

Commit 609bc7e

Browse files
committed
ext/gd: enable avif tests on GH-Actions
When the avif support was first added (phpGH-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
1 parent 306a519 commit 609bc7e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/actions/apt-x64/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ runs:
3939
libsqlite3-dev \
4040
libsqlite3-mod-spatialite \
4141
libwebp-dev \
42+
libavif-dev \
4243
libonig-dev \
4344
libcurl4-openssl-dev \
4445
libxml2-dev \

.github/actions/configure-x64/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ runs:
2828
--enable-gd \
2929
--with-jpeg \
3030
--with-webp \
31+
--with-avif \
3132
--with-freetype \
3233
--with-xpm \
3334
--enable-exif \

0 commit comments

Comments
 (0)