Version 6 (modified by mkae (Marko Käning), 11 years ago) (diff) |
---|
Continuous Integration of KDE software on MacPorts
Currently there is an ongoing discussion on KDE-DEVEL about this topic. MacPort's key developers' expertise regarding the setup of their buildbots could perhaps be helpful for the KDE folks. On the other hand one might also run Jenkins on OSX and adapt its configuration to the KDE software's requirements.
Requirements for the CI system
This is an excerpt from Ben Cooksley's post on KDE-DEVEL on thread "Running KDE apps on Apple OS X":
The infrastructure we have for our Linux builds should be nearly completely portable to OSX without too much trouble (in theory at least - i've never done any compilation on OSX).
The actual requirements aren't written anywhere, but you might find the documentation I've written for the CI system to be of some use.
A basic run down of what the CI system needs however:
1) Python 2.x, with json and lxml support (for the scripts which conduct builds)
2) Java (for the Jenkins node agent itself)
3) RSync and SSH (for the transferral of completed builds between nodes)
4) Git, Subversion, Bazaar, wget and GNU Tar (to access source code)
5) GNU Patch (for applying custom patches, used in certain builds)
6) A compiler, usable by CMake, QMake and autotools based build systems
7) GNU Make, Automake, Autoconf (for carrying out the build, and configuring it in certain rare cases)
We'll need to make adjustments to ensure the system doesn't attempt to launch Xvfb or a X11 Window Manager, which it currently will do when executing tests. These should be fairly easy to do however.
To build certain projects, the compiler will need to support C# and a certain level of C++11 as well. The Mono bindings will not be buildable if C# support is unavailable.
Under no circumstance should a CI node have Qt installed at the system level in any form, as this is provided directly by the CI system itself.
Checking on the above requirements in the current MacPorts tree shows that all necessary tools are available. Which versions of these programs can be used with KDE's current CI system has to be checked step by step.
The only problem seems to be C# support. But those projects will probably only be running on Windows anyways.
OSX virtualisation
Apparently Apple has permitted virtual OSX guests on Apple hardware for up to two virtual machines since OSX Lion (10.7).
OS X licensing forbids installation on non-Apple hardware.