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

CI: Set up regular native (MSYS2/MinGW) NUT for Windows builds with AppVeyor #1581

Merged

Conversation

jimklimov
Copy link
Member

@jimklimov jimklimov commented Aug 17, 2022

After the merge of #1580 the Windows-v2.8.0-1 branch is finally sailworthy enough to pass make check check-NIT in MSYS2/MinGW build environment (natively on Windows)! And AppVeyor is kind enough to provide Windows builders (among others) to FOSS projects. So what are we waiting for? Let's make the two meet!

Example run log: https://ci.appveyor.com/project/jimklimov/nut/builds/44493334

Closes: #1552

CC:

UPDATE: As part of the exercise, this also integrates third-party DLL bundling with main Makefile and separate helper script to find them, so addresses a new spin on #1492 as well. Now make DESTDIR='/tmp/nut_install' install-win-bundle is a thing!

UPDATE: Also some python packaging issues were noted...
Closes: #1583
Closes: #1584

@jimklimov jimklimov added Windows CI Entries related to continuous integration infrastructure (historically also recipes like Makefiles) labels Aug 17, 2022
@jimklimov
Copy link
Member Author

jimklimov commented Aug 17, 2022

DRAFT: Will iterate on nuances of AppVeyor caching to speed up rebuilds. Passing tests "cleanly" would probably depend on recent changes merged to master and posted in #1580 for the Windows branch bump (especially for PyNUT complaints), and subsequent merge conflict expected in NEWS.

@jimklimov jimklimov force-pushed the Windows-v2.8.0-appveyor branch 6 times, most recently from 2b6fb7b to 0f27dac Compare August 17, 2022 15:16
jimklimov and others added 20 commits August 17, 2022 19:39
No `time`: it outputs `/^sys/` - fatal for powershell (or appveyor?) console scanner
… scripts (too much hassle with wording on stderr)
…w - they refer to BUILD_TGT not (yet) defined in this codepath
@jimklimov jimklimov merged commit 72ce088 into networkupstools:Windows-v2.8.0-1 Aug 18, 2022
@jimklimov jimklimov deleted the Windows-v2.8.0-appveyor branch August 18, 2022 19:34
@jimklimov jimklimov restored the Windows-v2.8.0-appveyor branch August 19, 2022 20:37
@jimklimov jimklimov deleted the Windows-v2.8.0-appveyor branch August 19, 2022 20:37
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) documentation python Windows
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant