Lots of Lua projects (including Lua itself and LuaJIT) only release source code archives and expect users to build the project. On UNIX this is not really a problem but on Windows this can pose a significant hurdle for potential users. My Lua build bot is an attempt to solve this problem. While developing this build bot I took the following points into consideration:
The following packages have been built by the Lua build bot:
| Release | Size | SHA1 hash |
|---|---|---|
| Lua 5.1.4 | 234K | b312a0f67fae85d0969edcccee3df3bb27b6c228 |
| LuaJIT 1.1.7 | 255K | f58c039e0a890601d44f7026f36ed7e9a9de0990 |
| LuaJIT 2.0.0 beta 8 | 269K | 7b3f8a8c4788e67c737137e69c9bbe39ba183410 |
| Release | Size | SHA1 hash |
|---|---|---|
| LPeg 0.10.2 | 89K | 159a31446cc4c0f3a28e892c2c61d4bac52f25ee |
| LuaSocket 2.0.2 | 126K | a6a8fe0763cd21160c4cde2f6da8df5095851c36 |
| LuaFileSystem 1.5.0 | 70K | 9c482f761d4e7624215b62e0b807a59ff44a3309 |
The following stuff has not yet been implemented but is on the to-do list:
luarocks install luasocket would work in my environment but it doesn’t; msbuild complains that the project files are incompatibleRight now the build bot is meant to be run on my machine because it works in a very specific way, however I’m planning to make it more generally useful (and with a bit of persistence it should already be possible for other folks to get it running). At the moment I run the build bot as follows:
As I mentioned above the plan is to run the build bot from a cron job on a server, this is still a work in progress.
In order to run the build bot on Windows I installed the following software in the virtual machine:
gunzip, tar, wget and unzip from UnxUtilsI’m not publishing the virtual machine image because it was registered with my serial number and of course it’s quite big (more than 2 GB). However it’s not hard to create the virtual machine, it just takes a bit of time. Apart from installing the software mentioned above, there are only two things to configure in the virtual machine:
buildbot.cmd to my Start → Programs → Startup menu so that the build bot runs automatically after the VM is started and shuts down the VM after building all projectsIf you have questions, bug reports, suggestions, etc. the author can be contacted at peter@peterodding.com. The latest version is available at http://peterodding.com/code/lua/buildbot and http://github.com/xolox/lua-buildbot.
This software is licensed under the MIT license.
© 2011 Peter Odding <peter@peterodding.com>.
Last updated Sun Oct 16 06:06:18 UTC 2011.