nfengine icon indicating copy to clipboard operation
nfengine copied to clipboard

Add CI support for Windows platform

Open lookeypl opened this issue 11 years ago • 6 comments

www.appveyor.com provides CI services for Windows projects (VS-based). Add support for CI on AppVeyor and provide config file for nfEngine:

  • Build project every time a commit pushed to devel branch
  • Run tests (all except for nfEngineTest, which is more of a demo app, rather than unit test) after successful build and email results

lookeypl avatar Nov 21 '14 14:11 lookeypl

Seems like an interesting task. Lemme take care of it and maybe soon enough we will use it ;) Also for future use: http://www.appveyor.com/docs/how-to/private-git-sub-modules

mkulagowski avatar May 13 '15 14:05 mkulagowski

Try to take care of #94 as well. These tasks are similar, only CI provider is different.

lookeypl avatar May 13 '15 14:05 lookeypl

One question though...do we have a way of using submodule or sth different to acquire builded nfDeps? We can easily setup Appveyor for nfDeps, make it send artifacts to some place and setup nfEngine to clone it before building...but maybe we already have a place like this? There was gDrive, git lfs...how is it done right now?

mkulagowski avatar May 13 '15 15:05 mkulagowski

For dependencies needed to build nfEngine you only need to download the submodule and build it, no need for gdrive/gitlfs files, they are needed in runtime only by the engine itself.

From what I searched, you should be able to provide AppVeyor with a script used to launch building - before building nfEngine just git submodule init, then git submodule update, cd nfEngineDeps and then build them. It should work.

lookeypl avatar May 14 '15 18:05 lookeypl

Thanks, that's long done already ;) We'd need to made additional mode for tests.py script, to send info to AppVeyor (so tests are visible in tests tab)...or we can make it in Powershell. I'll check Travis and post some info.

While we're at it...do we even need tests? I mean...we can't make AppVeyor our buildbot for gerrit, so that means only checked and merged commits will be built in AppVeyor - so why would we need tests?

mkulagowski avatar May 15 '15 06:05 mkulagowski

In case of this task, hold it for a moment. We managed to get a new way, which might help us and add CI support to GerritHub, instead of GitHub. We'll discuss it and investigate more within next days.

lookeypl avatar May 20 '15 10:05 lookeypl