Build: Improve Windows dependency download resilience
Short description of changes
-
CI: Fix caching of NSIS & ASIO installations Previously, we were caching the wrong directories for NSIS/ASIO. Therefore, the cache never hit and wasn't effective against download problems.
-
Build: Windows: Log when re-using NSIS/ASIO directories This makes it easier to spot problems in the caching logic.
-
Build: Retry SourceForge (NSIS) downloads for improved build stability Previously, a single download failure made the whole build fail. Now we try three times in a row after a slight delay.
-
Build: windows/deploy_windows: Make spacing/case more consistent ... while we are at it.
CHANGELOG: SKIP
Context: Fixes an issue? Fixes: #2775
Does this change need documentation? What needs to be documented and how? No.
Status of this Pull Request Ready.
What is missing until this pull request can be merged? Reviews.
Checklist
- [x] I've verified that this Pull Request follows the general code principles
- [x] I tested my code and it does what I want
- [x] My code follows the style guide
- [x] I waited some time after this Pull Request was opened and all GitHub checks completed without errors.
- [x] I've filled all the content above
Test results:
- [x] Cache size increased from 179MB (master) to 186MB (a stripped down version of this PR)
- [x] The cache hit is logged as expected now