networkupstools / nut

The Network UPS Tools repository. UPS management protocol Informational RFC 9271 published by IETF at https://www.rfc-editor.org/info/rfc9271 Please star NUT on GitHub, this helps with sponsorships!
https://networkupstools.org/
Other
2.05k stars 349 forks source link

Building NUT for CI in Windows workers #917

Open jimklimov opened 3 years ago

jimklimov commented 3 years ago

The "fightwarn" effort started in #823 introduced in particular builds of NUT in Windows workers, currently for the sake of seeing if we can do it at all. This can be seen in branches with "fightwarn" in the name, and possibly truncated in scope (to avoid running other test cases while fixing this scenario) by a temporary patch like these from the https://github.com/networkupstools/nut/commits/fightwarn-win branch:

As the latter comment says, the current blocker in this path is the lack of functional autotools which would actually generate the configure script (probably as a .bat or .cmd file, though a posix shell script could work too for that environment).

jimklimov commented 3 years ago

Bookmarking a couple more findings: apparently Microsoft itself now issues (temporarily valid) VMs that can be used for building and/or testing stuff. This may be useful even when NUT CI life continues beyond Travis.

The list found so far includes:

jimklimov commented 2 years ago

Seems CircleCI offers up to 6000 minutes per month (to be explored for MacOS per #1419) including Windows builders:

jimklimov commented 2 years ago

Getting closer with:

Maybe sometime in the future would get to the likes of:

jimklimov commented 2 years ago

Initial milestone achieved (we have some way to build and test NUT in Windows). Other goals are worthy nice-to-haves to expand the supported base of options later, so not closing this issue yet but not actively pursuing either.