I don't know, how making nighty builds (assume there will be mingw black magic), but automated deb and rpm builds can be done pretty easy with CPack from CMake build system. Literally on every git commit system can generate rpms and debs (of course, if CMakefiles.txt well writted and included all dependencies).