Skip to content

Commit 271b9e6

Browse files
committed
Fix missing libavif-dev in asan nightly
Asan still runs on Ubuntu 20.04, which doesn't contain the libavif-dev package. Closes GH-16049
1 parent b8ac4ca commit 271b9e6

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
name: apt
2+
inputs:
3+
asan:
4+
default: false
5+
required: false
26
runs:
37
using: composite
48
steps:
@@ -39,7 +43,7 @@ runs:
3943
libsqlite3-dev \
4044
libsqlite3-mod-spatialite \
4145
libwebp-dev \
42-
libavif-dev \
46+
${{ inputs.asan == 'false' && 'libavif-dev' || '' }} \
4347
libonig-dev \
4448
libcurl4-openssl-dev \
4549
libxml2-dev \

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ runs:
2828
--enable-gd \
2929
--with-jpeg \
3030
--with-webp \
31-
--with-avif \
31+
${{ inputs.skipSlow == 'false' && '--with-avif' || '' }} \
3232
--with-freetype \
3333
--with-xpm \
3434
--enable-exif \

.github/workflows/nightly.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ jobs:
162162
${{ matrix.configuration_parameters }}
163163
--${{ matrix.debug && 'enable' || 'disable' }}-debug
164164
--${{ matrix.zts && 'enable' || 'disable' }}-zts
165+
asan: ${{ matrix.asan && 'true' || 'false' }}
165166
- name: make
166167
run: make -j$(/usr/bin/nproc) >/dev/null
167168
- name: make install

0 commit comments

Comments
 (0)