Continuous integration - suggestions are welcomed

I'm searching for a build system that is optimal for C/C++ based projects, mainly libraries and kernels, or projects like OpenWRT.

Usually I refer to tar packages for the sources of my projects so VCS support is irrelevant ( git, mercurial, etc ).

Do you have any suggestions ?