Repository navigation
Fix build failing on windows - #2710
Conversation
Update from original
build.py would fail on Windows due to a couple of changes made in electron#2459. This commit fixes those issues.
|
Thanks! |
We have Windows CI running on GitHub's own server, but it does not test pushes by non-GitHubbers for security reasons, so for now I can only verify Electron builds on Windows when I push. Also considering the super-bad performance of appveyor's free plan, it still won't be usable unless their Pro plan can get more than 10x faster. And since there is no mention of machine specifications on appveyor's website, I'm not even willing to have try (faster CPUs means nothing to me). |
Is it possible to configure the internal CI to also run on merge? |
When the PR is merged by a GitHubber the CI will also run it, because the merge commit is authored by the one who click the merge button. |
build.pywould fail on Windows due to a couple of changes made in #2459 that assumedFilePath::StringTypeis alwaysstd::stringand thatFilePath::CharTypeis alwayschar, which is not the case on Windows. So this commit fixes that.The error report I got from running
build.py:I think we should reconsider using a CI for Windows so we can catch issues like this faster. From what I understand the reason it's currently disabled is that building on
appveyortakes over 30 minutes.appveyorstates in their FAQ that if you purchase a "Pro" or "Premium" plan you'll getdedicated hardware with faster CPUs, SSD drives, 1 GB network uplink. So maybe we can contact them and see if we can try running the build on the stronger machines.