mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 20:40:27 +00:00
GitHub CI [Windows, NDI]: added additional wait if NDI not (yet?) present
This commit is contained in:
8
.github/scripts/Windows/prepare.ps1
vendored
8
.github/scripts/Windows/prepare.ps1
vendored
@@ -23,7 +23,13 @@ Remove-Item XIMEA_API_Installer.exe
|
||||
#Start-Process -FilePath "C:\ndi.exe" -ArgumentList "/VERYSILENT" -Wait -NoNewWindow
|
||||
Start-Process -FilePath "C:\ndi.exe" -ArgumentList "/VERYSILENT"
|
||||
Sleep 10
|
||||
$sdk=(dir "C:\Program Files\NDI" -Filter *SDK -Name)
|
||||
try {
|
||||
$sdk=(dir "C:\Program Files\NDI" -Filter *SDK -Name -ErrorAction Stop)
|
||||
} catch [System.Exception] { # not (yet?) ready -> sleep some more time
|
||||
Sleep 30
|
||||
$sdk=(dir "C:\Program Files\NDI" -Filter *SDK -Name)
|
||||
}
|
||||
echo "C:\Program Files\NDI\$sdk\Bin\x64" >> ${env:GITHUB_PATH}
|
||||
#Remove-Item C:\ndi.exe
|
||||
|
||||
# vim: set sw=2:
|
||||
|
||||
Reference in New Issue
Block a user