equal
deleted
inserted
replaced
|
1 language: c |
|
2 branches: |
|
3 except: |
|
4 gh-pages |
|
5 compiler: |
|
6 - gcc |
|
7 - clang |
|
8 env: |
|
9 # Default build. Release. |
|
10 - BUILD_ARGS="-DCMAKE_BUILD_TYPE=Release" |
|
11 # Debug build |
|
12 - BUILD_ARGS="-DCMAKE_BUILD_TYPE=Debug" |
|
13 # Everything that's optional |
|
14 - BUILD_ARGS="-NOPNG=1" |
|
15 - BUILD_ARGS="-NOVIDEOREC=1" |
|
16 - BUILD_ARGS="-NOSERVER=1" |
|
17 - BUILD_ARGS="-LUA_SYSTEM=0" |
|
18 matrix: |
|
19 allow_failures: |
|
20 # Failures we expect here |
|
21 before_install: |
|
22 - sudo apt-get update -qq |
|
23 - sudo apt-get install debhelper cmake dpkg-dev libqt4-dev fp-compiler libsdl1.2-dev libsdl-ttf2.0-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libsdl-net1.2-dev bzip2 fp-units-gfx ghc libghc-stm-dev libghc-network-dev libghc-dataenc-dev libghc-hslogger-dev libghc-utf8-string-dev liblua5.1-0-dev imagemagick libghc-bytestring-show-dev fpc libpng-dev libavcodec-dev libavformat-dev freeglut3-dev libghc-mtl-dev libghc-parsec3-dev libghc-vector-dev qt4-qmake fp-units-misc libghc-random-dev |
|
24 script: |
|
25 - mkdir build && cd build && cmake $BUILD_ARGS .. && make VERBOSE=1 |
|
26 notifications: |
|
27 irc: |
|
28 channels: |
|
29 - "chat.freenode.net#hedgewars" |
|
30 template: |
|
31 - "hw-build #%{build_number} (%{commit} by %{author}): %{message}" |
|
32 - "See details at %{build_url}" |
|
33 email: false |