Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR is based on my initiative to support PX4 developent under Windows and @dagar 's request to have CI to inform everyone automatically when a change breaks that support.
Reference: #10002
Solution:
I created an
appveyor.yml
CI script that when enabling the Appveyor CI service for the PX4 Firmware repository automatically builds it under Windows. Appveyor in particular is used because it's a convenient cloud service host supporting Windows builds and it offers a free service usage with a certain amount of resources to open source projects.Details:
http://dev.px4.io/en/setup/dev_env_windows_cygwin.html
Hence it exactly reproduces the recommended way to build natively under Windows.
posix
(SITL) andpx4fmu-v4
(to test NuttX build) targets with a complete execution time of ~13 min. Other tests can be added in the future.Conclusion:
I suggest to enable this CI even if we might find any better solution. As stated the process itself is not dependend on Appveyor and the gained experience setting this up could be used on any CI automated Windows machine e.g. a jenkins slave. I'm happy to look into that later on if I get some support to integrate it with ci.px4.io.
The output of the successful build of this pr (and hence currently latest master) is available here: https://ci.appveyor.com/project/MaEtUgR/firmware-b5mk6/build/25
closes #10002