Changes

Jump to: navigation, search

Buildbot and Cairo

2,530 bytes removed, 14:48, 16 February 2008
m
Updating little details that were out-of-date
NOTE: only Project Leader(s) should add names here. You '''can’t''' add your own name to the Contributor list.
== Release ==<blockquote>=== Feb. 15th ===
'''Where will I put code and screenshots?'''
* [http://svn2.assembla.com/svn/Seneca_Hera_Try_Server_Setup/buildbot-configs/ http://svn2.assembla.com/svn/Seneca_Hera_Try_Server_Setup/buildbot-configs/] - Buildbot configs (look for "cairo")
* buildbot start ~/cairoslave
* firefox http://localhost:8020 //This is to be able to see the results of the build
</blockquote>
== Tasks ==
== Problems ==
* <strike>The first time the command GIT CLONE works because there is nothing before that execution but the second run should be an update instead of a checkout. What could be the proper GIT command to have as the step?</strike> I have decided to remove the checked out code and checkout the trunk before each build* <strike>I need to do SUDO MAKE INSTALL, but this requires user's input which breaks the automated concept. What could be the right step?</strike> Used ./configure --prefix=/path/to/somewhere to avoid building somewhere where I require to have sudo privileges
== Project News ==
* Feb 16 2008 - Updated Cairo project page and first proper release* Feb 11 2008 - Steps are written but some issues have to fixed* Jan 19 2008 - Project Proposal from Vladimir Vukicevic.
== Notes ==
=== master.cfg draft ===  # -*- python -*- # ex: set syntax=python: # This master.cfg defines how to build Cairo These notes are for learning purposes and run the tests it has from buildbot.scheduler import Scheduler, Periodic from buildbot.process import step, factory from buildbot.status import html s = factory.s c = BuildmasterConfig = {} ####### PROJECT IDENTITY c['projectName'] = "Cairo" c['projectURL'] = "http://www.cairographics.org/" # changed buildbot's default port c['buildbotURL'] = "http://localhost:8020/" #modified from default's buildbot port c['slavePortnum'] = 9876 ####### BUILDSLAVES c['bots'] = [("cairoslave", "cairoslavepassword")] ####### STATUS TARGETS c['status'] = [] from buildbot.status import html c['status'].append(html.Waterfall(http_port=8010)) ####### CHANGESOURCES c['sources'] = [] # Armen - Research GIT source changes ####### SCHEDULERS ## configure the Schedulers from buildbot.scheduler import Scheduler c['schedulers'] = [] c['schedulers'].append(Periodic(name="30 minutes build scheduler", builderNames=["Linux Ubuntu7.1 dep unit test"], periodicBuildTimer=30*60)) ####### BUILDERS builders = [] ubuntuFactory = factory.BuildFactory() ubuntuFactory.addStep(step.ShellCommand, name="checkout pixman", command=["git","clone","git://git.cairographics.org/git/pixman"], workdir="") ubuntuFactory.addStep(step.ShellCommand, name="checkout cairo", command=["git","clone","git://git.cairographics.org/git/cairo"], workdir="") ubuntuFactory.addStep(step.ShellCommand, name="autogen for pixman", command=["./autogen.sh"], workdir="pixman") ubuntuFactory.addStep(step.ShellCommand, name="configure pixman", command=["./configure"], workdir="pixman") ubuntuFactory.addStep(step.ShellCommand, name="make pixman", command=["make"], workdir="pixman") ubuntuFactory.addStep(step.ShellCommand, name="make install pixman", command=["sudo","make","install"], workdir="pixman") #let's prepare cairo ubuntuFactory.addStep(step.ShellCommand, name="autogen for cairo", command=["./autogen.sh"], workdir="cairo") ubuntuFactory.addStep(step.ShellCommand, name="configure cairo", command=["./configure"], workdir="cairo") ubuntuFactory.addStep(step.ShellCommand, name="make cairo", command=["make"], workdir="cairo") ubuntuFactory.addStep(step.ShellCommand, name="make install cairo", command=["sudo","make","install"], workdir="cairo") cairo_trunk_ubuntu_builder = { 'name': "Linux Ubuntu7.1 dep unit test", 'slavenames': ['cairoslave'], 'builddir': "trunk_ubuntu", 'factory': ubuntuFactory} builders.append(cairo_trunk_ubuntu_builder) c['builders'] = builders # c['builders'] = [cairo_trunk_ubuntu_builder]documentation<blockquote>
=== Build Cairo manually ===
* mkdir cairo & cd cairo
* cd test && make html
* firefox index.html
</blockquote>
1
edit

Navigation menu