ken2812221
commented at 1:30 pm on August 14, 2018:
contributor
@MarcoFalke Yes, note that appveyor does not connect with github team. So the owner need to change his account name on appveyor to “bitcoin” to get “bitcoin” project prefix(https://ci.appveyor.com/account), but that is not necessary.
sipsorcery
commented at 2:58 pm on August 14, 2018:
member
@MarcoFalke if there is a webhook on the bitcoin/bitcoin project under Settings->WebHooks and we can get it that would allow us to initiate the AppVeyor builds automatically whenever there is a commit. At the moment I kick off a build whenever I see a Twitter commit message.
practicalswift
commented at 3:17 pm on August 14, 2018:
contributor
@sipsorcery Would it be possible to use wildcards in the other project files to make the maintenance of these scripts easier? :-)
MarcoFalke
commented at 6:16 pm on August 14, 2018:
member
It must run on pull requests. Otherwise we can’t enable it on the master branch without having to fix each failure post merge.
ken2812221
commented at 8:38 pm on August 14, 2018:
contributor
Use wildcard path in test_bitcoin.vcxproj1f6ff04e59
ken2812221 force-pushed
on Aug 14, 2018
sipsorcery
commented at 6:24 am on August 15, 2018:
member
@practicalswift For the other projects it’s not really possible to use wildcards if we also want to maintain the same build components as the Makefile. In particular libbitcoin_common, libbitcoin_util, libbitcoin_consensus and libbitcoin_server all include *.cpp files from /src.
One alternative solution would be to write a script that parses the Makefile to automatically build the Visual Studio project files. I’ll put it on the list :-).
sipsorcery
commented at 7:27 am on August 15, 2018:
member
ken2812221 referenced this in commit
e393a18b51
on Aug 15, 2018
MarcoFalke merged this
on Aug 15, 2018
MarcoFalke closed this
on Aug 15, 2018
ken2812221 deleted the branch
on Aug 15, 2018
sipsorcery
commented at 9:14 am on August 16, 2018:
member
A small note on the AppVeyor build in this PR.
The URL to install the bzip dependency in the AppVeyor version of vcpkg (the Microsoft C++ dependency that makes building bitcoin-core straight forward) is currently broken as per https://github.com/Microsoft/vcpkg/pull/4046.
The consequence is that anyone that forks bitcoin-core and creates their own AppVeyor job will end up with a failing job. At some point AppVeyor will update their vcpkg version and this will be fixed. In the meantime it’s possible to workaround the problem by manually updating the vcpkg files using:
0cd c:\tools\vcpkg
1git pull
I don’t think it’s worth adding these commands to the appveyor.yml as it would potentially result in dependency updates that a user may not be expecting.
NicolasDorier
commented at 9:22 am on August 16, 2018:
contributor
@sipsorcery maybe pulling and just ckecking out specifc commit so that updates on appveryor does not have impact.
sipsorcery
commented at 9:47 am on August 16, 2018:
member
MarcoFalke referenced this in commit
1f470a8916
on Aug 17, 2018
ras0219-msft
commented at 7:48 pm on August 17, 2018:
none
@sipsorcery We would definitely recommend what @NicolasDorier suggests – the best fix here is to checkout a specific vcpkg git commit in your appveyor.yml:
MarcoFalke
commented at 11:58 am on August 23, 2018:
member
Hmm, that would make it impossible to run multiple pull requests?
ken2812221
commented at 12:19 pm on August 23, 2018:
contributor
@MarcoFalke If you push to the same PR, it would cancel the previous one and does not affect other PRs.
jonasschnelli
commented at 8:32 pm on August 23, 2018:
contributor
Post merge: I’m unsure about the usefulness of this. This requires documentation. I have no clue how to make #14032 pass AppVeyor…
Somehow I have the feeling that this sets an unexpected heavy burden on those not primarily interested in MSVC support.
IMO MSVC compatibility should be maintained by those interested in it.
sipsorcery
commented at 6:25 am on August 24, 2018:
member
The project files for the msvc build are currently not automatically synchronised with the Makefiles. Whenever a new class file is added or removed the msvc build will break. Until we write a script to keep them in sync I agree with @jonasschnelli in that blocking a PR based on the msvc build is not ideal.
practicalswift
commented at 9:09 am on August 24, 2018:
contributor
Could a way to solve this be to auto-generate the project files (or at least the parts referencing files) to make sure they’re automatically changed when new files are added/removed?
The only input needed for such auto-generation would be find src/ -type f? :-)
Could a way to solve this be to auto-generate the project files
An easier way to alleviate this might just be to use wildcards more places in the project files. Autogeneration could help or hurt, depending how it is implemented.
sipsorcery
commented at 6:41 pm on August 24, 2018:
member
The options I can think of:
Leave the Visual Studio project files as is and manually update the project files as class files are added and removed. Over the last 12 months I’d estimate I’ve updated the project files about a dozen times,
Investigate switching to a wildcard project file,
Switch from Makefile to CMake to allow a wider variety of platform builds from a single configuration.
For my own purposes option 1 is by far the most useful. Having a Visual Studio project configuration that directly reflects the current bitcoin core libraries makes building and debugging straight forward and is the by far the biggest benefit for me. It’s also not a great burden to update the project files when the build breaks but that’s based on only building the master branch.
For options 2 and 3 it would make building on Windows easier but be worse for debugging and comprehending the code.
MarcoFalke referenced this in commit
613fc95ee4
on Oct 24, 2018
linuxsh2 referenced this in commit
b70411b627
on Jul 29, 2021
linuxsh2 referenced this in commit
4c17c7d84e
on Jul 29, 2021
5tefan referenced this in commit
12d24c70f4
on Aug 14, 2021
linuxsh2 referenced this in commit
ac176ff7cf
on Sep 16, 2021
linuxsh2 referenced this in commit
7acc71699b
on Sep 16, 2021
linuxsh2 referenced this in commit
7cc44fe207
on Sep 16, 2021
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2024-11-17 09:12 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me