OpenLightingProject / ola

The Open Lighting Architecture - The Travel Adaptor for the Lighting Industry
https://www.openlighting.org/ola/
Other
648 stars 206 forks source link

Add Windows CI Build #1502

Open peternewman opened 6 years ago

peternewman commented 6 years ago

https://blog.travis-ci.com/2018-10-11-windows-early-release

rotoglup commented 1 year ago

For memory, the initial link is now broken - but content be can still be found on archive.org/.../blog.travis-ci.com/2018-10-11-windows-early-release

Basically it was the announcement of Windows support in Travis CI.

We’re proud to announce that, starting today, Travis CI supports the Windows operating system! You and your team can now run your tests on Linux, Mac, and Windows - all in the same build.

peternewman commented 1 year ago

Thanks @rotoglup .

Unfortunately Travis have clearly been trying their best to shed all their OSS load given it just costs them money without making any. Ours, and numerous other people's Linux/Mac builds randomly ceased working a few months ago, see: https://app.travis-ci.com/github/OpenLightingProject/ola

@DaAwesomeP has been doing a great job of migrating us from Travis to GitHub Actions in #1815 which also supports Windows (although I think when I tried back in the day finding packages/installing stuff was the biggest challenge).

This was as far as I got before FWIW if someone fancies giving it a go: https://github.com/OpenLightingProject/ola/compare/0.10...peternewman:ola:0.10-travis-win

It should just be a case of installing the dependencies for Windows and then the majority of the rest of the build should just work (at least as far as it does outside of CI on Windows).

DaAwesomeP commented 1 year ago

Windows is on my list but probably not high up on the list since we are still missing some simple build tasks. I'm onsite at an installation right now, so my rate of working on this has lagged but I will pick back up once this project is over!

peternewman commented 1 year ago

I wasn't trying to throw it at you specifically @DaAwesomeP . If @rotoglup wanted to give it a go would be great (I'm just guessing/hoping given they've commented on this issue that they have some interest in it).

rotoglup commented 1 year ago

Thanks for your feedback, I'm currently evaluating options for sACN support for a client who develops software on Windows - I thought making a small contribution while gathering data would be nice.

While being a Windows developer, I'm currently not versed in configure scripts for MSYS or github actions - and I'm not currently an OLA user.

So, I'm afraid I won't be able to help you with this topic.

DaAwesomeP commented 1 year ago

I have had a few projects where we are stuck on Windows as well. I think the binary builds are pretty feasible but a more polished solution with a proper MSI installer, Windows service, etc. are probably further away. I am confident I could get the builds to work but I have no experience with the other bits. I am pushing all of my new projects to Linux as much as possible.

@rotoglup If you are able to run WSL on Windows, then there is a very very strong chance OLA will just work. The Windows application should be able to communicate with OLA running in WSL via RPC/sACN/HTTP/Artnet/etc. just fine.