lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Mar 10, 2013, at 7:21, "Peter Drahoš" <drahosp@gmail.com> wrote:


On Sat, Mar 9, 2013 at 10:46 PM, Andrew Starks <andrew.starks@trms.com> wrote:
Agreed. So, we are setting up a ci system internally. If I could help
by donating some VMs and granting access to others, is there enough to
move this forward a step?

VMs for CI would be more than welcome and could be useful for generating binary modules, especially for OSX.

LuaDist already uses Travis-CI[1] but it only provides Linux VMs. However the CI process tries to use Clang, gcc, cross compiles for Windows using MinGW and even tries to build for arm[2].

pd

[1] https://travis-ci.org/ (search LuaDist)

If the CI is already in place, and all that is needed is some licenses, then I will see what I can do. I suspect that a 64bit win 7 and 32bit XP license will not be a problem.  If we were doing this at my work, I'd guess that we'd use our MSDN licenses to do this. Having someone else do it is more than worth the cost of licenses, however. 

I'm not sure how someone provides a Mac OSX vm, without a Mac OSX. If that's doable, let me know. Otherwise, I might be able to get creative with something, but then I have to ask if the person has room for an older iMac? Not sure if I can do that, however. 

We are in the process of setting up Jenkins (I believe). It's not that I have an opinion about it, it's only that it may be possible for me to help in that way, if it turns out that a CI machine is not available. 

As far as standards go: I think recommended guidelines are great. I think  CI assert-able testing is what will most likely change things. Asserting things like:

It installs on key platforms. 
It can be 'required' in 5.2 and 5.1 without error. (This means dealing with the sticky detail of installing foreign libraries, or a method to mock them)
It has a test directory, with tests made in such a way that the CI server can run them and detect the results. 
It passes those tests. 
It has a /doc/index.html file that isn't 0 bytes and can be opened by a viewer, without error. 
It uses the included build system. 

Hopefully I'm not repeating someone that I missed...

-Andrew