Skip to content

Commit d5b3ffa

Browse files
authored
ext/gd: enable avif tests on GH-Actions (php#15850)
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 274ae05 commit d5b3ffa

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

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

+1
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

+1
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)