aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
blob: 4b3e197da707b5dbefeb4b306a5ad69a7df60f0a (plain)
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
image: archlinux
packages:
  - clang
  - ffmpeg
  - libcap
  - libinput
  - libxkbcommon
  - mesa
  - meson
  - pixman
  - wayland
  - wayland-protocols
  - xcb-util-image
sources:
  - https://github.com/swaywm/wlroots
tasks:
  - setup: |
      mkdir wlroots/build-{gcc,clang}
      cd wlroots/build-gcc
      CC=gcc meson ..
      cd ../build-clang
      CC=clang meson ..
  - gcc: |
      cd wlroots/build-gcc
      ninja
  - clang: |
      cd wlroots/build-clang
      ninja scan-build