Build: Windows: Fix Github JACK build failures & improve build speed#3206
Conversation
Invoke-WebRequest enables a progress bar by default which slows down the requests a lot. Disabling these makes the build run much faster. Source: - https://stackoverflow.com/a/43477248 - Interactive testing
Previously, the JACK installers were started as ordinary programs. As they are GUI applications, they detach from the console and the powershell build script (and Github Actions) continues. Therefore, once the actual build starts, the JACK installation may not have finished at all. This commit uses Powershell's Start-Process -Wait feature to wait for completion before continuing. Fixes: jamulussoftware#3035
Just to be clear: the progress bar is only an improvement, the actual fix is the |
You did that for jamulussoftware/jamulus, right? Also, I think that setting should not matter for two reasons (good to have it tested nevertheless, though!):
|
Yes
I think so too. Maybe the reason is something else. But it could be some concurrency issue - which you fix here. |
|
Thanks! |

Short description of changes
Autobuild: Ensure JACK install completion
Previously, the JACK installers were started as ordinary programs. As they are GUI applications, they detach from the console and the powershell build script (and Github Actions) continues. Therefore, once the actual build starts, the JACK installation may not have finished at all. This commit uses Powershell's Start-Process -Wait feature to wait for completion before continuing.
Build: Windows: Improve dependency download speed
Invoke-WebRequest enables a progress bar by default which slows down the requests a lot. Disabling these makes the build run much faster.
Source:
CHANGELOG: SKIP
Context: Fixes an issue?
Fixes #3035.
Does this change need documentation? What needs to be documented and how?
No.
Status of this Pull Request
Ready on CI green.
What is missing until this pull request can be merged?
CI.
Checklist
AUTOBUILD: Please build all targets