Files
UltraGrid/.github/scripts/Windows/build_aja.ps1
Martin Pulec fc56d9a1c4 GitHub CI: remove possible previous instalations of cached items
Due to inexact matching, cache might not have been hit but item was
extracted from partially matching key.
2021-06-24 16:42:58 +02:00

16 lines
426 B
PowerShell

#Set-PSDebug -Trace 1
# Build AJA
if (${env:SDK_URL}) {
Invoke-WebRequest ${env:SDK_URL}/ntv2sdkwin.zip -OutFile aja.zip
Expand-Archive -LiteralPath 'aja.zip' -DestinationPath 'C:\'
Remove-Item aja.zip
if (Test-Path c:\AJA) {
Remove-Item -Recurse c:\AJA
}
mv c:\ntv2sdk* c:\AJA
cd c:\AJA
MSBuild.exe ntv2_vs12.sln -p:PlatformToolset=v142 -p:Configuration=Release -p:Platform=x64 -t:libajantv2:Rebuild
}