| Version 9 (modified by , 16 years ago) ( diff ) |
|---|
WebKit BuildBot
The WebKit BuildBot is a system to help automate the compile/test cycle. After every commit to WebKit's Subversion repository it will schedule compilation and tests on a variety of different computers, known as build slaves.
Running a Build Slave
Each build slave needs a unique username and password to be able to take part in the compile/test cycle. Please email bdash if you would like to contribute a build slave.
Please ensure that you are familiar with building WebKit from source so that problems getting the slave up and running can be easily troubleshooted. The machine will need to have:
General requirements
- Subversion installed and accessible on the
PATH. - Set the computer to not go to sleep (under Energy Saver in System Preferences)
- Install Twisted
- Download Twisted 2.5.0 from http://tmrc.mit.edu/mirror/twisted/Twisted/2.5/Twisted-2.5.0.tar.bz2.
- Extract it.
- In a shell, change into the
Twisted-2.5.0/zope.interface-3.3.0directory and runsudo python setup.py install - Change back up to the
Twisted-2.5.0directory and runsudo python setup.py install
- Install BuildBot
- Download the latest version of BuildBot from http://buildbot.net/.
- Extract it.
- In a shell, change into the
buildbotdirectory and runsudo python setup.py install
Mac requirements
- Everything in http://webkit.org/building/tools.html
- The Ahem font installed. (Reference?)
- Add
/System/Library/Frameworks/Python.framework/Versions/2.3/bin/to your shell'sPATHvariable.
Win requirements
- Everything in http://webkit.org/building/tools.html
- For the cygwin install, the actual minimal requirements are: apache, bc, bison, curl, flex, gcc, gperf, make, patch, perl, python, readline, subversion, unzip, zip.
- From the instructions, save the file WebKitSupportLibrary.zip in a directory (e.g.
c:\deps) andset WEBKITSUPPORTLIBRARIESZIPDIR=c:\deps
- Safari 4 and QuickTime
- Java
- Set the following registry key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug] "Auto"="0"
GTK requirements
- See BuildingGtk
QT requirements
- See QtWebKit
Configuring a Build Slave
- Open a shell inside a directory suitable to keep the build slaves copy of the WebKit repository.
- Run
buildbot create-slave WebKit-BuildSlave build.webkit.org:9989 [username] [password] - Change to the
WebKit-BuildSlavedirectory - Rename
Makefile.sampletoMakefile - Edit
info/adminandinfo/hostto contain basic contact information and information about the build slave. - Run
make startto start the build slave. Logging information can be viewed by runningmake log. - Generate an ssh (dsa) key pair and send
id_dsa.pubto bdash to allow the machine to upload build results. - Once you recieve login information from bdash, ssh once to buildbot master, thus adding an entry to your knownhosts file (prevents upload script from later hanging).
Attachments (1)
-
passwords.json
(1.8 KB
) - added by 14 years ago.
passwords.json
Download all attachments as: .zip
Note:
See TracWiki
for help on using the wiki.