-
Notifications
You must be signed in to change notification settings - Fork 37.7k
ci: Move Windows MSVC build from AppVeyor to Cirrus #21551
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
Conversation
The warmed up vcpkg cache reduces build time by about 40 minutes. |
Still takes longer than the appveyor 38 minutes right now? |
Right. The time is spent on installing |
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
Does it make sense to move this task into the DrahtBot infrastructure? Or just close it? |
I don't run Windows and macOS, so I can't run those native tasks |
It takes 27 minutes now.
Fixed by using |
de17d24 Re-add command to install vcpkg (dplusplus1024) Pull request description: `vcpkg integrate install` must be executed so that msbuild will automatically install external dependencies. It was removed in bitcoin@712f95d It was originally added in bitcoin@7644567 <!-- *** Please remove the following help text before submitting: *** Pull requests without a rationale and clear improvement may be closed immediately. GUI-related pull requests should be opened against https://github.com/bitcoin-core/gui first. See CONTRIBUTING.md --> <!-- Please provide clear motivation for your patch and explain how it improves Bitcoin Core user experience or Bitcoin Core developer experience significantly: * Any test improvements or new tests that improve coverage are always welcome. * All other changes should have accompanying unit tests (see `src/test/`) or functional tests (see `test/`). Contributors should note which tests cover modified code. If no tests exist for a region of modified code, new tests should accompany the change. * Bug fixes are most welcome when they come with steps to reproduce or an explanation of the potential issue as well as reasoning for the way the bug was fixed. * Features are welcome, but might be rejected due to design or scope issues. If a feature is based on a lot of dependencies, contributors should first consider building the system outside of Bitcoin Core, if possible. * Refactoring changes are only accepted if they are required for a feature or bug fix or otherwise improve developer experience significantly. For example, most "code style" refactoring changes require a thorough explanation why they are useful, what downsides they have and why they *significantly* improve developer experience or avoid serious programming bugs. Note that code style is often a subjective matter. Unless they are explicitly mentioned to be preferred in the [developer notes](/doc/developer-notes.md), stylistic code changes are usually rejected. --> <!-- Bitcoin Core has a thorough review process and even the most trivial change needs to pass a lot of eyes and requires non-zero or even substantial time effort to review. There is a huge lack of active reviewers on the project, so patches often sit for a long time. --> ACKs for top commit: sipsorcery: ACK de17d24. hebasto: ACK de17d24, I use the same in bitcoin#21551. Tree-SHA512: b32428e450cf76297a0e78b5ffb0933ddcfcce010dbd6f5b87d434bf9c437258edb5b817161f6255d5d60523f79f8513a1fe3e92ba62e3fd3786ab042aaae849
What is the status of this? Is the intention to replace Appveyor? If not, do we need two Windows builds? An empty PR description is not really useful. |
I started this because Cirrus CI seems the most reliable CI provider, so having all configs on them seemed preferable. I guess the status here is: Needs review? |
(Also needs appveyor removed) |
cd9fe27
to
b114390
Compare
It seems
So, I switched back to May I ask you to build |
Sure, any idea where I can find the software versions installed on the cirrusci image you're using? |
|
The
|
Thanks for doing that. I was trying to track it down via the docker files. I already have that version of msbuild installed so will attempt the Qt build tonight (it kills my machine so overnight job). |
048eee7
to
310bf9a
Compare
ACK ca9b9b9. Makes sense to consolidate CI platforms. Tested that latest msbuild version One potential pitfall will be the |
ACK after rebase |
ca9b9b9
to
da8810e
Compare
Rebased ca9b9b9 -> da8810e (pr21551.06 -> pr21551.07) due to the conflict with #22861. |
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.
Missing BASE_TEMPLATE to merge the latest branch?
.cirrus.yml
Outdated
task: | ||
name: "Win64 [unit tests, no functional tests] [msvc]" | ||
windows_container: | ||
cpu: 8 |
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.
why 8 when the average usage is 2?
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.
da8810e
to
02cdcc4
Compare
ef88865
to
8dacf46
Compare
8dacf46
to
97292b1
Compare
Updated da8810e -> 97292b1 (pr21551.07 -> pr21551.08, diff):
|
ack |
Another (final?) review? 😄 |
re-ACK 97292b1. |
….exe command line option 64015eb ci: Add missed comments and test_bitcoin.exe command line option (Hennadii Stepanov) Pull request description: This PR is a #21551 follow up, and it: - adds missed comments, see bitcoin/bitcoin#21551 (comment) - restores missed `-l test_suite` command line option for `test_bitcoin.exe`, see bitcoin/bitcoin#21551 (comment) ACKs for top commit: MarcoFalke: cr ACK 64015eb Tree-SHA512: ad1c91544da39a94f033bc55ae5fdaf5774475702edd026635389e68d20e2608cb599dd51f3c1412e0287beef073352e48d9ec005c94df38cfe4fe2d21a94fe3
…mand line option 64015eb ci: Add missed comments and test_bitcoin.exe command line option (Hennadii Stepanov) Pull request description: This PR is a bitcoin#21551 follow up, and it: - adds missed comments, see bitcoin#21551 (comment) - restores missed `-l test_suite` command line option for `test_bitcoin.exe`, see bitcoin#21551 (comment) ACKs for top commit: MarcoFalke: cr ACK 64015eb Tree-SHA512: ad1c91544da39a94f033bc55ae5fdaf5774475702edd026635389e68d20e2608cb599dd51f3c1412e0287beef073352e48d9ec005c94df38cfe4fe2d21a94fe3
This PR:
vcpkg
cachevcpkg
cacheCurrently, AppVeyor builds take about 44..48 minutes.