1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Fix nightly builds regarding libavif

Currently, we're running LINUX_X64 Asan builds on ubuntu-20.04, where
libavif-dev is not available, so apt-x64 fails.  This PR is a follow up
to PR #16049 to pass the respective parameter to apt-x64, and to fix
the conditional check in configure-x64.

It might be clearer to just have an `avif` parameter or to pass the
runner version to these actions, but this should do for now.

Closes GH-16130.
This commit is contained in:
Christoph M. Becker
2024-09-30 12:36:29 +02:00
parent a1cc091808
commit 258088310a
2 changed files with 6 additions and 1 deletions

View File

@@ -6,6 +6,9 @@ inputs:
skipSlow:
default: false
required: false
asan:
default: false
required: false
runs:
using: composite
steps:
@@ -28,7 +31,7 @@ runs:
--enable-gd \
--with-jpeg \
--with-webp \
${{ inputs.skipSlow == 'false' && '--with-avif' || '' }} \
${{ inputs.asan == 'false' && '--with-avif' || '' }} \
--with-freetype \
--with-xpm \
--enable-exif \

View File

@@ -147,6 +147,8 @@ jobs:
uses: ./.github/actions/setup-mssql
- name: apt
uses: ./.github/actions/apt-x64
with:
asan: ${{ matrix.asan && 'true' || 'false' }}
- name: System info
run: |
echo "::group::Show host CPU info"