sometimes I am stupid, let clean up src dirs for src packages install once installed and check before in case the flow failed previously before the cleanup (#774)
parent
27e99a0e8f
commit
de9b5eb943
|
@ -63,9 +63,9 @@ jobs:
|
||||||
run: sudo -E apt-get install --fix-missing -qq -o Acquire::Retries=3 cmake clang-12 gcc build-essential libjpeg-turbo8-dev libimagequant-dev libde265-dev libpng-dev libwebp-dev libtiff5-dev libx265-dev libheif-dev libfreetype-dev libheif-dev libavifile-0.7-dev libxpm-dev libraqm-dev dh-autoreconf ninja-build nasm meson
|
run: sudo -E apt-get install --fix-missing -qq -o Acquire::Retries=3 cmake clang-12 gcc build-essential libjpeg-turbo8-dev libimagequant-dev libde265-dev libpng-dev libwebp-dev libtiff5-dev libx265-dev libheif-dev libfreetype-dev libheif-dev libavifile-0.7-dev libxpm-dev libraqm-dev dh-autoreconf ninja-build nasm meson
|
||||||
|
|
||||||
- name: install AOM codec for libavif
|
- name: install AOM codec for libavif
|
||||||
if: "!contains(matrix.config.name,'Ubuntu Graviton GCC')"
|
|
||||||
run: |
|
run: |
|
||||||
cd ${{github.temp }}
|
cd ${{github.temp }}
|
||||||
|
[ -d "aom" ] && rm -rf aom
|
||||||
git clone -b v3.1.2 --depth 1 https://aomedia.googlesource.com/aom
|
git clone -b v3.1.2 --depth 1 https://aomedia.googlesource.com/aom
|
||||||
cd aom
|
cd aom
|
||||||
mkdir build.libavif
|
mkdir build.libavif
|
||||||
|
@ -73,9 +73,13 @@ jobs:
|
||||||
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DENABLE_DOCS=0 -DENABLE_EXAMPLES=0 -DENABLE_TESTDATA=0 -DENABLE_TESTS=0 -DENABLE_TOOLS=0 -DBUILD_SHARED_LIBS=1 -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
|
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DENABLE_DOCS=0 -DENABLE_EXAMPLES=0 -DENABLE_TESTDATA=0 -DENABLE_TESTS=0 -DENABLE_TOOLS=0 -DBUILD_SHARED_LIBS=1 -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
|
||||||
ninja
|
ninja
|
||||||
sudo ninja install
|
sudo ninja install
|
||||||
|
cd ..
|
||||||
|
rm -rf aom
|
||||||
|
|
||||||
- name: install dav1d codec for libavif
|
- name: install dav1d codec for libavif
|
||||||
run: |
|
run: |
|
||||||
|
cd ${{github.temp }}
|
||||||
|
[ -d "dav1d" ] && rm -rf dav1d
|
||||||
git clone -b 0.9.2 --depth 1 https://code.videolan.org/videolan/dav1d.git
|
git clone -b 0.9.2 --depth 1 https://code.videolan.org/videolan/dav1d.git
|
||||||
cd dav1d
|
cd dav1d
|
||||||
mkdir build
|
mkdir build
|
||||||
|
@ -83,10 +87,13 @@ jobs:
|
||||||
meson --buildtype release -Dprefix=/usr ..
|
meson --buildtype release -Dprefix=/usr ..
|
||||||
ninja
|
ninja
|
||||||
sudo ninja install
|
sudo ninja install
|
||||||
|
cd ..
|
||||||
|
rm -rf dav1d
|
||||||
|
|
||||||
- name: install libyuv
|
- name: install libyuv
|
||||||
run: |
|
run: |
|
||||||
cd ${{github.temp }}
|
cd ${{github.temp }}
|
||||||
|
[ -d "libyuv" ] && rm -rf libyuv
|
||||||
git clone https://chromium.googlesource.com/libyuv/libyuv/
|
git clone https://chromium.googlesource.com/libyuv/libyuv/
|
||||||
cd libyuv
|
cd libyuv
|
||||||
mkdir build
|
mkdir build
|
||||||
|
@ -94,10 +101,13 @@ jobs:
|
||||||
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -B. ..
|
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -B. ..
|
||||||
make
|
make
|
||||||
sudo make install
|
sudo make install
|
||||||
|
cd ..
|
||||||
|
rm -rf libyuv
|
||||||
|
|
||||||
- name: install libavif
|
- name: install libavif
|
||||||
run: |
|
run: |
|
||||||
cd ${{github.temp }}
|
cd ${{github.temp }}
|
||||||
|
[ -d "libavif" ] && rm -rf libavif
|
||||||
git clone https://github.com/AOMediaCodec/libavif.git
|
git clone https://github.com/AOMediaCodec/libavif.git
|
||||||
cd libavif
|
cd libavif
|
||||||
git checkout tags/v0.9.2
|
git checkout tags/v0.9.2
|
||||||
|
@ -106,6 +116,8 @@ jobs:
|
||||||
cmake -DBUILD_SHARED_LIBS=1 -DAVIF_CODEC_AOM=1 -DAVIF_CODEC_DAV1D=1 -DAVIF_CODEC_LIBGAV1=0 -DAVIF_CODEC_RAV1E=0 -DAVIF_CODEC_SVT=0 -B. ..
|
cmake -DBUILD_SHARED_LIBS=1 -DAVIF_CODEC_AOM=1 -DAVIF_CODEC_DAV1D=1 -DAVIF_CODEC_LIBGAV1=0 -DAVIF_CODEC_RAV1E=0 -DAVIF_CODEC_SVT=0 -B. ..
|
||||||
make
|
make
|
||||||
sudo make install
|
sudo make install
|
||||||
|
cd ..
|
||||||
|
rm -rf libavif
|
||||||
|
|
||||||
- name: Debug CC Env
|
- name: Debug CC Env
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in New Issue