diff --git a/.github/scripts/Linux/prepare.sh b/.github/scripts/Linux/prepare.sh index c7727be1d..aadcfe791 100755 --- a/.github/scripts/Linux/prepare.sh +++ b/.github/scripts/Linux/prepare.sh @@ -47,6 +47,15 @@ if [ -n "$sdk_pass" ]; then make fi +# Install NDI +if [ -n "$sdk_pass" ]; then + curl --netrc-file <(cat <<<"machine frakira.fi.muni.cz login sdk password $sdk_pass") https://frakira.fi.muni.cz/~xpulec/sdks/NDISDK_Linux.tar.gz -O + tar -C /var/tmp -xzf NDISDK_Linux.tar.gz + yes | PAGER=cat /var/tmp/InstallNDI*sh + sudo cp -r NDI\ SDK\ for\ Linux/include/* /usr/local/include + sudo cp -r NDI\ SDK\ for\ Linux/lib/x86_64-linux-gnu/* /usr/local/lib +fi + # Install live555 git clone https://github.com/xanview/live555/ cd live555 diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 9c7f20518..a0b70ef07 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -36,7 +36,7 @@ jobs: - name: bootstrap run: .github/scripts/Linux/prepare.sh - name: configure - run: ./autogen.sh --enable-qt --with-cuda-host-compiler=$CUDA_HOST_COMPILER --enable-plugins --with-live555=/usr/local + run: ./autogen.sh --enable-qt --with-cuda-host-compiler=$CUDA_HOST_COMPILER --enable-plugins --with-live555=/usr/local --disable-ndi - name: make run: make -j4 - name: make check diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 6c2aa522a..db2a94f49 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -64,7 +64,7 @@ jobs: - name: bootstrap run: .github/scripts/Linux/prepare.sh - name: configure - run: ./autogen.sh --enable-qt --with-cuda-host-compiler=$CUDA_HOST_COMPILER --enable-plugins --with-live555=/usr/local + run: ./autogen.sh --enable-qt --with-cuda-host-compiler=$CUDA_HOST_COMPILER --enable-plugins --with-live555=/usr/local --disable-ndi - name: make run: make -j4 - name: make check