mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 12:40:19 +00:00
GitHub CI [Linux]: use cmake for build/install instead of make
see also commit f7bf7e9f
This commit is contained in:
@@ -13,8 +13,8 @@ install_libvpx() {
|
||||
FFMPEG_GIT_DEPTH=5000 # greater depth is useful for 3-way merges
|
||||
install_svt() {
|
||||
( git clone --depth 1 https://github.com/OpenVisualCloud/SVT-HEVC && cd SVT-HEVC/Build/linux && ./build.sh release && cd Release && make -j "$(nproc)" && sudo make install || exit 1 )
|
||||
( git clone --depth 1 https://gitlab.com/AOMediaCodec/SVT-AV1.git && cd SVT-AV1 && cd Build && cmake .. -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=Release && make -j "$(nproc)" && sudo make install || exit 1 )
|
||||
( git clone --depth 1 https://github.com/OpenVisualCloud/SVT-VP9.git && cd SVT-VP9/Build && cmake .. -DCMAKE_BUILD_TYPE=Release && make -j "$(nproc)" && sudo make install || exit 1 )
|
||||
( git clone --depth 1 https://gitlab.com/AOMediaCodec/SVT-AV1.git && cd SVT-AV1 && cd Build && cmake .. -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=Release && cmake --build . --parallel && sudo cmake --install . || exit 1 )
|
||||
( git clone --depth 1 https://github.com/OpenVisualCloud/SVT-VP9.git && cd SVT-VP9/Build && cmake .. -DCMAKE_BUILD_TYPE=Release && cmake --build . --parallel && sudo cmake --install . || exit 1 )
|
||||
# if patch apply fails, try increasing $FFMPEG_GIT_DEPTH
|
||||
patch SVT-HEVC/ffmpeg_plugin/master-*.patch < "$GITHUB_WORKSPACE/.github/scripts/Linux/tmp/0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch.patch"
|
||||
git apply -3 SVT-HEVC/ffmpeg_plugin/master-*.patch
|
||||
|
||||
5
.github/scripts/Linux/install_ffmpeg.sh
vendored
5
.github/scripts/Linux/install_ffmpeg.sh
vendored
@@ -5,8 +5,9 @@ cd /var/tmp/ffmpeg
|
||||
( cd x264 && sudo make install )
|
||||
( cd nv-codec-headers && sudo make install )
|
||||
( cd aom/build && sudo cmake --install . )
|
||||
( cd SVT-AV1/Build && sudo make install )
|
||||
sudo cmake --install SVT-AV1/Build
|
||||
( cd SVT-HEVC/Build/linux/Release && sudo make install || exit 1 )
|
||||
( cd SVT-VP9/Build && sudo make install || exit 1 )
|
||||
sudo cmake --install SVT-VP9/Build
|
||||
|
||||
sudo make install
|
||||
sudo ldconfig
|
||||
|
||||
Reference in New Issue
Block a user