mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-20 17:40:12 +00:00
GitHub CI: download zfec/cineform directly from upstream
+ removed gpujpeg/cineform from monitored paths in workflow file
This commit is contained in:
8
.github/scripts/Linux/prepare.sh
vendored
8
.github/scripts/Linux/prepare.sh
vendored
@@ -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
|
||||
|
||||
|
||||
7
.github/scripts/Windows/prepare_msys.sh
vendored
7
.github/scripts/Windows/prepare_msys.sh
vendored
@@ -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
|
||||
|
||||
|
||||
8
.github/scripts/install-common-deps.sh
vendored
8
.github/scripts/install-common-deps.sh
vendored
@@ -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
|
||||
|
||||
8
.github/scripts/macOS/prepare.sh
vendored
8
.github/scripts/macOS/prepare.sh
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user