source: trunk/build/bitten.xml @ 846

Last change on this file since 846 was 846, checked in by sam, 9 years ago

web: create bitten configuration for an amd64 slave.

  • Property svn:mime-type set to text/xml
File size: 1.8 KB
Line 
1<build xmlns:sh="http://bitten.edgewall.org/tools/sh"
2       xmlns:svn="http://bitten.edgewall.org/tools/svn"
3       xmlns:c="http://bitten.edgewall.org/tools/c">
4  <step id="init" description="Initialise builder">
5    <sh:exec file="sh" args="-c '
6      if test ${platform} = ppu-ps3; then
7         echo ps3; else echo not ps3; fi
8      '"/>
9    <sh:exec file="exit" args="1"/>
10  </step>
11  <step id="checkout" description="Checkout source from repository">
12    <svn:checkout url="svn://svn.zoy.org/lolengine/"
13      path="${path}" revision="${revision}" />
14  </step>
15  <step id="bootstrap" description="Bootstrap build system">
16    <sh:exec file="sh" args="-c '
17      case ${platform} in;
18        android-arm|ios-arm|ps3-ppu) : ; ;;
19        *) ./bootstrap ;;
20      esac
21      '"/>
22  </step>
23  <step id="configure" description="Configure tree">
24    <sh:exec file="sh" args="-c '
25      case ${platform} in;
26        android-arm|ios-arm|ps3-ppu) : ; ;;
27        *) ./configure ;;
28      esac
29      '"/>
30    <sh:exec file="./configure" args=""/>
31  </step>
32  <step id="build" description="Build tree">
33    <sh:exec file="sh" args="-c '
34      case ${platform} in;
35        android-arm)
36         cd monsterz/android;
37         ndk-build;
38         ant compile;
39         ;;
40        ios-arm)
41         :;
42         ;;
43        ps3-ppu)
44         ./build-ps3;
45         ;;
46        *)
47         make;
48         ;;
49      esac
50      '"/>
51  </step>
52  <step id="test" description="Run tests">
53    <sh:exec file="sh" args="-c '
54      case ${platform} in;
55        android-arm|ios-arm|ps3-ppu) : ; ;;
56        *) make check; ;;
57      esac
58      '"/>
59  </step>
60  <step id="clean" description="Clean tree">
61    <sh:exec file="sh" args="-c '
62      case ${platform} in;
63        android-arm|ios-arm) : ; ;;
64        *) make distclean; ;;
65      esac
66      '"/>
67  </step>
68</build>
Note: See TracBrowser for help on using the repository browser.