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:
parent
ae55fd9523
commit
269b2e04d4
19
.github/workflows/test.yml
vendored
19
.github/workflows/test.yml
vendored
@ -3,14 +3,6 @@ name: Test
|
|||||||
# to-do:
|
# to-do:
|
||||||
# - add a macos test with brew etc.
|
# - add a macos test with brew etc.
|
||||||
# - build with clang/asan/etc. and run the fuzz tests
|
# - 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:
|
on:
|
||||||
push:
|
push:
|
||||||
@ -33,6 +25,11 @@ jobs:
|
|||||||
run:
|
run:
|
||||||
sudo apt-get update -qq -o Acquire::Retries=3
|
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
|
- name: Install platform dependencies
|
||||||
env:
|
env:
|
||||||
DEBIAN_FRONTEND: noninteractive
|
DEBIAN_FRONTEND: noninteractive
|
||||||
@ -72,15 +69,15 @@ jobs:
|
|||||||
--disable-deprecated
|
--disable-deprecated
|
||||||
|
|
||||||
- name: Build libvips
|
- name: Build libvips
|
||||||
run: make V=0
|
run: make V=0 -j$(nproc)
|
||||||
|
|
||||||
- name: Check libvips
|
- name: Check libvips
|
||||||
run: make V=0 check
|
run: make V=0 check
|
||||||
|
|
||||||
- name: Install libvips
|
- name: Install libvips
|
||||||
run: |
|
run: |
|
||||||
sudo make V=0 install
|
sudo make V=0 install
|
||||||
sudo ldconfig
|
sudo ldconfig
|
||||||
|
|
||||||
- name: Install pyvips
|
- name: Install pyvips
|
||||||
run: pip3 install pyvips pytest
|
run: pip3 install pyvips pytest
|
||||||
|
Loading…
Reference in New Issue
Block a user