mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-22 08:40:28 +00:00
Do not hardcode SDK URL, use one from a secret (if present). + remove SDK_PASS secret - assume that the URL path is already obfuscated
13 lines
355 B
PowerShell
13 lines
355 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
|
|
mv c:\ntv2sdk* c:\AJA
|
|
cd c:\AJA
|
|
MSBuild.exe ntv2_vs12.sln -p:PlatformToolset=v142 -p:Configuration=Release -p:Platform=x64 -t:libajantv2
|
|
}
|
|
|