Test with libheif PPA on GitHub Actions

Since the one provided by Ubuntu 20.04 does not depend on aom.
This commit is contained in:
Kleis Auke Wolthuizen 2021-01-06 12:36:26 +01:00
parent ae55fd9523
commit 269b2e04d4

View File

@ -3,14 +3,6 @@ name: Test
# to-do:
# - add a macos test with brew etc.
# - build with clang/asan/etc. and run the fuzz tests
# - libvips work with 1.6.1 in ubuntu-20.04, but fails with 1.10, strangely
# - paste this back when it's working
# - name: Add libheif PPA
# run: |
# sudo add-apt-repository ppa:strukturag/libde265
# sudo add-apt-repository ppa:strukturag/libheif
# you may also need to add libaom-dev, libde265-dev, libx265-dev to get
# this to work, see https://github.com/strukturag/libheif/issues/404
on:
push:
@ -33,6 +25,11 @@ jobs:
run:
sudo apt-get update -qq -o Acquire::Retries=3
- name: Add libheif PPA
run: |
sudo add-apt-repository ppa:strukturag/libde265
sudo add-apt-repository ppa:strukturag/libheif
- name: Install platform dependencies
env:
DEBIAN_FRONTEND: noninteractive
@ -72,15 +69,15 @@ jobs:
--disable-deprecated
- name: Build libvips
run: make V=0
run: make V=0 -j$(nproc)
- name: Check libvips
run: make V=0 check
- name: Install libvips
run: |
sudo make V=0 install
sudo ldconfig
sudo make V=0 install
sudo ldconfig
- name: Install pyvips
run: pip3 install pyvips pytest