GitHub CI: download zfec/cineform directly from upstream

+ removed gpujpeg/cineform from monitored paths in workflow file
This commit is contained in:
Martin Pulec
2022-02-02 14:56:00 +01:00
parent 06dd9beca4
commit fb1bd77bfb
5 changed files with 18 additions and 15 deletions

View File

@@ -52,8 +52,11 @@ sudo apt install libglib2.0-dev libcurl4-nss-dev
sudo apt install libtool # gpujpeg
sudo apt install i965-va-driver-shaders # instead of i965-va-driver
# Install cross-platform deps
$GITHUB_WORKSPACE/.github/scripts/install-common-deps.sh
( ./bootstrap_gpujpeg.sh -d && mkdir ext-deps/gpujpeg/build && cd ext-deps/gpujpeg/build && CUDA_FLAGS=-D_FORCE_INLINES CXXFLAGS=-std=c++11 CC=$CUDA_HOST_COMPILER ../autogen.sh && make && sudo make install && sudo ldconfig || exit 1 )
( sudo apt install uuid-dev && git submodule update --init cineform-sdk && cd cineform-sdk/ && cmake -DBUILD_TOOLS=OFF . && make CFHDCodecStatic || exit 1 )
( sudo apt install uuid-dev && cd cineform-sdk/ && cmake -DBUILD_TOOLS=OFF . && make CFHDCodecStatic || exit 1 )
sudo apt install qtbase5-dev
sudo chmod 777 /usr/local
@@ -101,6 +104,3 @@ cd ..
install_ndi
# Install cross-platform deps
$GITHUB_WORKSPACE/.github/scripts/install-common-deps.sh

View File

@@ -77,7 +77,6 @@ fi
build_cineform() {
(
git submodule update --init cineform-sdk
cd cineform-sdk
cmake -DBUILD_STATIC=false -DBUILD_TOOLS=false -A x64 . # assume "-G 'Visual Studio 16 2019'"
cmake --build . --config Release --parallel
@@ -85,6 +84,9 @@ build_cineform() {
)
}
# Install cross-platform deps
$GITHUB_WORKSPACE/.github/scripts/install-common-deps.sh
$GITHUB_WORKSPACE/.github/scripts/Windows/install_natpmp.sh
$GITHUB_WORKSPACE/.github/scripts/Windows/install_spout.sh
@@ -96,6 +98,3 @@ wget --no-verbose https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full-shared.
build_cineform
# Install cross-platform deps
$GITHUB_WORKSPACE/.github/scripts/install-common-deps.sh

View File

@@ -10,6 +10,11 @@ case "$(uname -s)" in
;;
esac
# only download here, compilation is handled per-platform
download_cineform() {
( cd $GITHUB_WORKSPACE && git clone --depth 1 https://github.com/gopro/cineform-sdk || exit 1 )
}
install_ews() {
${SUDO}curl -LS https://raw.githubusercontent.com/MartinPulec/EmbeddableWebServer/master/EmbeddableWebServer.h -o /usr/local/include/EmbeddableWebServer.h
}
@@ -38,9 +43,10 @@ install_pcp() {
}
install_zfec() {
( cd $GITHUB_WORKSPACE && git submodule update --init ext-deps/zfec || exit 1 )
( cd $GITHUB_WORKSPACE && git clone --depth 1 https://github.com/tahoe-lafs/zfec ext-deps/zfec || exit 1 )
}
download_cineform
install_ews
install_juice
install_pcp

View File

@@ -18,7 +18,7 @@ brew install speexdsp
brew install ffmpeg portaudio sdl2 sdl2_mixer sdl2_ttf
brew install imagemagick jack libnatpmp opencv openssl
brew install ossp-uuid # for cineform
( git submodule update --init cineform-sdk && cd cineform-sdk/ && cmake -DBUILD_TOOLS=OFF . && make -j $(sysctl -n hw.ncpu) CFHDCodecStatic || exit 1 )
( cd cineform-sdk && cmake -DBUILD_TOOLS=OFF . && make -j $(sysctl -n hw.ncpu) CFHDCodecStatic || exit 1 )
brew install qt@5
sudo ln -s /usr/local/opt/qt@5 /usr/local/opt/qt
@@ -81,6 +81,9 @@ install_ndi() {
cd $TEMP_INST
}
# Install cross-platform deps
$GITHUB_WORKSPACE/.github/scripts/install-common-deps.sh
# Install live555
git clone https://github.com/xanview/live555/
cd live555
@@ -97,9 +100,6 @@ sudo cp -R 'Syphon SDK 5/Syphon.framework' /Library/Frameworks
install_ndi
install_ximea
# Install cross-platform deps
$GITHUB_WORKSPACE/.github/scripts/install-common-deps.sh
# Remove installation files
cd
rm -rf $TEMP_INST