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

Building NUT for CI in Windows workers #917

Open
jimklimov opened this issue Nov 28, 2020 · 4 comments
Open

Building NUT for CI in Windows workers #917

jimklimov opened this issue Nov 28, 2020 · 4 comments
Labels
CI Entries related to continuous integration infrastructure (historically also recipes like Makefiles) cross-builds Windows

Comments

@jimklimov
Copy link
Member

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:

  • 44587b0 - [TEST] .travis.yml: in this branch only build windows gnu
  • 4f52196 - .travis.yml: constrain Windows builds to branches whose names contain "fightwarn-win" specifically, until someone figures out how to make autotools work

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
Copy link
Member Author

jimklimov commented Jun 3, 2021

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 jimklimov added the CI Entries related to continuous integration infrastructure (historically also recipes like Makefiles) label Nov 14, 2021
@jimklimov jimklimov changed the title Building NUT for Travis CI in Windows workers Building NUT for CI in Windows workers Mar 12, 2022
@jimklimov
Copy link
Member Author

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

@jimklimov
Copy link
Member Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Entries related to continuous integration infrastructure (historically also recipes like Makefiles) cross-builds Windows
Projects
Status: Todo
Development

No branches or pull requests

2 participants