-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build: Windows: Fix Github JACK build failures & improve build speed #3206
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this! Strange that the progress bar introduces delay.
Will check this PR on my repo.
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