Skip to content
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

Windows CI: Appveyor based SITL build using Cygwin Toolchain #10002

Closed
MaEtUgR opened this issue Jul 23, 2018 · 4 comments · Fixed by #10051
Closed

Windows CI: Appveyor based SITL build using Cygwin Toolchain #10002

MaEtUgR opened this issue Jul 23, 2018 · 4 comments · Fixed by #10051

Comments

@MaEtUgR
Copy link
Member

MaEtUgR commented Jul 23, 2018

As requested by @dagar and proven to be necessary multiple times: I want to add CI build support on Windows such that it's easily visible to developers when the build breaks in the Cygwin toolchain described here: https://dev.px4.io/en/setup/dev_env_windows_cygwin.html

References: #9981 , #9920

@MaEtUgR
Copy link
Member Author

MaEtUgR commented Jul 23, 2018

From #9981

Update: I worked on the CI using Appveyor, it only doesn't build master yet because something with numpy on the latest cygwin is buggy and it doesn't import correctly.
And I still have to figure out how to checkout the correct branch. But it looks like I'm almost there thanks to the script based toolchain setup repo I did before which only required some small adaptions.

@dagar
Copy link
Member

dagar commented Jul 23, 2018

Appveyor is likely the best solution if possible. It also serves as a nice test for the installer.

If that's not workable for whatever reason, then worst case we could add a Windows machine to Jenkins. Someone would need to manually setup (and maintain) the dev environment though.

@MaEtUgR
Copy link
Member Author

MaEtUgR commented Jul 23, 2018

Right now I did it with scripts always installing everything fresh from the internet. I can do the installer later as well.

Someone would need to manually setup (and maintain) the dev environment though.

I could easily do that.

@MaEtUgR
Copy link
Member Author

MaEtUgR commented Jul 26, 2018

@dagar Finally I have the first successful appveyor build of sitl and px4fmu-v4 🎉 :
https://ci.appveyor.com/project/MaEtUgR/firmware-b5mk6/build/23
Had to find multiple good hiding script details to make it work. Now I create a pr and explain more there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants