]> git.saurik.com Git - wxWidgets.git/commitdiff
Add configuration for push builds.
authorMichael Wetherell <mike.wetherell@ntlworld.com>
Tue, 11 Mar 2008 18:20:02 +0000 (18:20 +0000)
committerMichael Wetherell <mike.wetherell@ntlworld.com>
Tue, 11 Mar 2008 18:20:02 +0000 (18:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

build/buildbot/config/include/push.xml [new file with mode: 0644]
build/buildbot/config/push.xml [new file with mode: 0644]

diff --git a/build/buildbot/config/include/push.xml b/build/buildbot/config/include/push.xml
new file mode 100644 (file)
index 0000000..4d70411
--- /dev/null
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+    Name:       include/push.xml
+    Purpose:    Declarations for the push build slave
+    Author:     Mike Wetherell
+    RCS-ID:     $Id$
+    Copyright:  (c) 2007 Mike Wetherell
+    Licence:    wxWidgets licence
+-->
+
+<bot xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+     xmlns:xi="http://www.w3.org/2001/XInclude">
+
+<xi:include href="defs.xml"/>
+
+<!--
+    Usage: <show log="filename" [ name="title" ]/> 
+
+    A build step displayed as 'title' in the waterfall display, the output
+    comes from 'filename.log' in the uploaded log tarball, and the exit code
+    comes from 'filename.err'.
+
+    If the name attibute is omitted, it defaults to the filename.
+-->
+<xsl:template name="show">
+    <xsl:param name="content"/>
+    <xsl:param name="log"/>
+    <xsl:param name="name" select="$log"/>
+    <shellcommand>
+        <defaults content="{$content}">
+            <name><xsl:value-of select="$name"/></name>
+            <description><xsl:value-of select="$name"/></description>
+            <descriptionDone><xsl:value-of select="$name"/></descriptionDone>
+            <command><xsl:value-of select="$log"/></command>
+        </defaults>
+        <xsl:copy-of select="$content"/>
+    </shellcommand>
+</xsl:template>
+
+</bot>
diff --git a/build/buildbot/config/push.xml b/build/buildbot/config/push.xml
new file mode 100644 (file)
index 0000000..9e9e3e2
--- /dev/null
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+    Name:       push.xml
+    Purpose:    Configuration for push builds
+    Author:     Mike Wetherell
+    RCS-ID:     $Id$
+    Copyright:  (c) 2007 Mike Wetherell
+    Licence:    wxWidgets licence
+
+    This allows the logs from builds done elsewhere to be included in the
+    buildbot results, see:
+
+    http://www.wxwidgets.org/wiki/index.php/Development:_Buildbot#Sending_in_Logs_from_Builds_Done_Elsewhere
+-->
+
+<bot xmlns:xi="http://www.w3.org/2001/XInclude">
+
+<xi:include href="include/push.xml"/>
+
+<!-- e.g.:
+<build>
+    <name>wxOS2 Stable gcc</name>
+    <builddir>psh_os2_stable</builddir>
+
+    <steps>
+        <extractlogs/>
+        <show log="compiler"/>
+        <show log="update"/>
+        <show log="configure"/>
+        <show log="compile"/>
+        <show log="demos"/>
+        <show log="samples"/>
+    </steps>
+</build>
+-->
+
+</bot>