Coverity CI: ensure that NDI is downloaded

Since the commit ee317947, CI-cached NDI installer in Linux was expected
to be downloaded, but this was not true for the Coverity CI, so add the
download to the job as well as a fallback to the script.

fixes failed run

    https://github.com/CESNET/UltraGrid/actions/runs/4464606369/jobs/7840900109
This commit is contained in:
Martin Pulec
2023-03-20 08:16:23 +01:00
parent 969a1cb967
commit 7ee05dfefd
2 changed files with 25 additions and 2 deletions

View File

@@ -42,6 +42,9 @@ install_live555() {(
# Install NDI
install_ndi() {(
if [ ! -f "Install_NDI_SDK_Linux.tar.gz" ]; then # it should be already cached in a CI step
curl -L https://downloads.ndi.tv/SDK/NDI_SDK_Linux/Install_NDI_SDK_v5_Linux.tar.gz -o /var/tmp/Install_NDI_SDK_Linux.tar.gz
fi
tar -xzf Install_NDI_SDK_Linux.tar.gz
# shellcheck disable=SC2125
installer=./Install*NDI*sh