From 443b6c9ee4409fa080e731631b3692081fa94ade Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Thu, 20 Jan 2022 15:02:35 +0100 Subject: [PATCH] GitHub CI [Windows, XIMEA]: disable all unneeded components In order to prevent potential freezes that nondeterministically arise. --- .github/scripts/Windows/prepare.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/Windows/prepare.ps1 b/.github/scripts/Windows/prepare.ps1 index f5ae1a915..d13c72a0e 100644 --- a/.github/scripts/Windows/prepare.ps1 +++ b/.github/scripts/Windows/prepare.ps1 @@ -16,7 +16,7 @@ if (!${env:no_cuda}) { } # Install XIMEA -$proc = Start-Process -FilePath C:\XIMEA_API_Installer.exe -ArgumentList "/S /SecXiApi=ON" -PassThru +$proc = Start-Process -FilePath C:\XIMEA_API_Installer.exe -ArgumentList "/S /SecXiApi=ON /SecDrivers=OFF /SecXiApiNET=OFF /SecGenTL=OFF /SecPython=OFF /SecxiCamTool=OFF /SecxiCamToolExamples=OFF /SecxiCOP=OFF /SecXiLib=OFF /SecExamples=OFF /SecxiXiapiDNG=OFF" -PassThru # /SecDrivers=OFF doesn't actually disable drivers, see also https://www.ximea.com/support/wiki/apis/Unattended_Installation_XIMEA_API_Installer $proc | Wait-Process -Timeout 300 -ErrorAction SilentlyContinue -ErrorVariable timeouted if ($timeouted) { # terminate the process