Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 15, 2024
Merged

Conversation

Ayesh
Copy link
Member

@Ayesh Ayesh commented Sep 12, 2024

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 missing12 on older Ubuntu versions, so this commit only adds it for x64 builds.

Footnotes

  1. https://packages.ubuntu.com/jammy/libavif-dev

  2. https://packages.ubuntu.com/noble/libavif-dev

Copy link
Member

@cmb69 cmb69 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! That makes a lot of sense to me, although I'm afraid that we only have few AVIF tests anyway so e.g. the issue reported in #13919 went unnoticed.

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
@TimWolla TimWolla merged commit d5b3ffa into php:master Sep 15, 2024
10 checks passed
@Ayesh
Copy link
Member Author

Ayesh commented Sep 15, 2024

Thank you @TimWolla

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants