Skip to content

Commit

Permalink
Merge pull request #3206 from hoffie/autobuild-windows-wait-for-jack-…
Browse files Browse the repository at this point in the history
…install
  • Loading branch information
ann0see authored Dec 12, 2023
2 parents 135e944 + aeb7239 commit 6ee0c9e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/autobuild/windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ param(
# Fail early on all errors
$ErrorActionPreference = "Stop"

# Invoke-WebRequest is really slow by default because it renders a progress bar.
# Disabling this, improves vastly performance:
$ProgressPreference = 'SilentlyContinue'

$QtDir = 'C:\Qt'
$ChocoCacheDir = 'C:\ChocoCache'
$DownloadCacheDir = 'C:\AutobuildCache'
Expand Down Expand Up @@ -179,7 +183,7 @@ Function Ensure-JACK

$JACKInstallPath = "${DownloadCacheDir}\JACK64.exe"

& $JACKInstallPath $JACKInstallParms
Start-Process -Wait $JACKInstallPath -ArgumentList "$JACKInstallParms"

if ( !$? )
{
Expand All @@ -194,7 +198,7 @@ Function Ensure-JACK

$JACKInstallPath = "${DownloadCacheDir}\JACK32.exe"

& $JACKInstallPath $JACKInstallParms
Start-Process -Wait $JACKInstallPath -ArgumentList "$JACKInstallParms"

if ( !$? )
{
Expand Down
4 changes: 4 additions & 0 deletions windows/deploy_windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ param (
# Fail early on all errors
$ErrorActionPreference = "Stop"

# Invoke-WebRequest is really slow by default because it renders a progress bar.
# Disabling this, improves vastly performance:
$ProgressPreference = 'SilentlyContinue'

# change directory to the directory above (if needed)
Set-Location -Path "$PSScriptRoot\..\"

Expand Down

0 comments on commit 6ee0c9e

Please sign in to comment.