Changes between Version 180 and Version 181 of KDEProblems/KDEMacPortsCI/Status


Ignore:
Timestamp:
Aug 24, 2014, 12:19:29 PM (10 years ago)
Author:
mkae (Marko Käning)
Comment:

move helper bash scripts up

Legend:

Unmodified
Added
Removed
Modified
  • KDEProblems/KDEMacPortsCI/Status

    v180 v181  
    139139}}}
    140140and still required more work. The patch enables kdoctools and kdelibs4support to locate their files successfully (which had up to now to be handled using an even nastier workaround), but apart from that there are still problems with config files. '''In short: this is still work in progress...'''
     141
     142
     143
     144== Helper bash scripts ==
     145
     146KDE's Jenkins-based CI system mainly makes use of these two python scripts:
     147{{{
     148tools/prepare-environment.py
     149tools/perform-build.py
     150}}}
     151
     152For qt5 they've above been used in order to show the workflow. But in daily use it is more practical to consider some helper bash scripts which ease all actions needed to run project builds on an OSX/CI system for which there's not yet the Jenkins integration available.
     153
     154The various projects on the CI system have to be handled by replacing "PROJECT" with the project name of the corresponding framework or application:
     155{{{
     156$ python2.7 tools/prepare-environment.py --project PROJECT --branchGroup kf5-qt5 --platform darwin-mavericks --sources ~/WC/KDECI-build/PROJECT
     157...
     158$ (cd ~/WC/KDECI-build/PROJECT; git checkout jenkins)
     159...
     160$ python2.7 tools/perform-build.py --project PROJECT --branchGroup kf5-qt5 --platform darwin-mavericks --sources ~/WC/KDECI-build/PROJECT
     161...
     162}}}
     163or alternatively by using [https://projects.kde.org/projects/playground/sdk/macports-kde/repository/revisions/master/show/contrib/scripts/KDECI helper bash scripts from our MacPorts/KDE git repository]
     164{{{
     165$ ./prepare.sh PROJECT
     166...
     167$ ./build.sh PROJECT
     168...
     169}}}
     170where {{{prepare.sh}}} takes care of creating the build directory if it is not yet existing as well as checks out the branch 'jenkins'. Alternatively one can combine these steps using:
     171{{{
     172$ ./install.sh PROJECT
     173}}}
    141174
    142175
     
    260293== Installation of other projects and KDE frameworks ==
    261294
    262 The various frameworks have to be handled by replacing "PROJECT" with the framework's project name:
    263 {{{
    264 $ python2.7 tools/prepare-environment.py --project PROJECT --branchGroup kf5-qt5 --platform darwin-mavericks --sources ~/WC/KDECI-build/PROJECT
    265 ...
    266 $ (cd ~/WC/KDECI-build/PROJECT; git checkout jenkins)
    267 ...
    268 $ python2.7 tools/perform-build.py --project PROJECT --branchGroup kf5-qt5 --platform darwin-mavericks --sources ~/WC/KDECI-build/PROJECT
    269 ...
    270 }}}
    271 or alternatively by using [https://projects.kde.org/projects/playground/sdk/macports-kde/repository/revisions/master/show/contrib/scripts/KDECI scripts from our MacPorts/KDE git repository]
    272 {{{
    273 $ ./prepare.sh PROJECT
    274 ...
    275 $ ./build.sh PROJECT
    276 ...
    277 }}}
    278 where {{{prepare.sh}}} takes care of creating the build directory if it is not yet existing as well as checks out the branch 'jenkins'. This is only needed when building a project manually, otherwise it gets one by the jenkins slave. Alternatively one can combine both of these steps using:
    279 {{{
    280 $ ./install.sh PROJECT
    281 }}}
    282 
    283 All frameworks of a specific tier can be build as a whole using
     295Specific frameworks can be installed using {{{install.sh}}} , but one can also build all frameworks of a specific tier as a whole using
    284296{{{
    285297$ # This builds all frameworks of tier 1