mirror of
https://github.com/swaywm/sway.git
synced 2024-11-29 19:31:29 +00:00
aa6bd85da1
- Moved ``<sys/capability.h>`` include inside `__linux__` guard, because all uses are similarly guarded. - <sys/capability.h> is part of an optional devel package, at least in fedora. CMake now explicitly checks that libcap devel files are available. - Added libcap to the list of install packages in .travis.yml, to make the dependency explicit. travis-ci installs the package by default, which is why this hasn't surfaced previously.
28 lines
396 B
YAML
28 lines
396 B
YAML
sudo: required
|
|
|
|
language: c
|
|
|
|
compiler:
|
|
- gcc
|
|
- clang
|
|
|
|
arch:
|
|
packages:
|
|
- cmake
|
|
- xorg-server-xwayland
|
|
- asciidoc
|
|
- json-c
|
|
- wayland
|
|
- xcb-util-image
|
|
- pango
|
|
- cairo
|
|
- gdk-pixbuf2
|
|
- wlc-git
|
|
- libcap
|
|
script:
|
|
- "cmake ."
|
|
- "make"
|
|
|
|
script:
|
|
- "curl -s https://raw.githubusercontent.com/mikkeloscar/arch-travis/master/arch-travis.sh | bash"
|