aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: bc1ee45b807f01998b36861b9e92b2d08fc47584 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
sudo: required

language: c

compiler:
  - gcc
  - clang

env:
  - BUILD_TYPE=Release
  - BUILD_TYPE=Debug
  - BUILD_TYPE=ASAN

arch:
  packages:
    - cmake
    - xorg-server-xwayland
    - json-c
    - wayland
    - xcb-util-image
    - pango
    - cairo
    - gdk-pixbuf2
    - wlc-git
    - libcap
    - meson
  script:
    - git clone https://github.com/swaywm/wlroots
    - cd wlroots
    - mkdir build
    - cd build
    - meson --prefix=/usr ..
    - sudo ninja install
    - cd ../..
    - cmake .
    - make
    - cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE .
    - make

script:
  - "curl -s https://raw.githubusercontent.com/mikkeloscar/arch-travis/master/arch-travis.sh | bash"