2018-03-26 00:38:46 +08:00
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
|
|
|
|
|
|
|
os: linux
|
|
|
|
|
|
|
|
language: c
|
|
|
|
|
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
|
|
|
exclude:
|
|
|
|
- compiler: gcc
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- gdb
|
|
|
|
- libx11-dev
|
|
|
|
- libxrandr-dev
|
|
|
|
- libxi-dev
|
|
|
|
- libxv-dev
|
|
|
|
- libcups2-dev
|
|
|
|
- libxdamage-dev
|
|
|
|
- libxcursor-dev
|
|
|
|
- libxext-dev
|
|
|
|
- libxinerama-dev
|
|
|
|
- libxkbcommon-dev
|
|
|
|
- libxkbfile-dev
|
|
|
|
- libxml2-dev
|
|
|
|
- libasound2-dev
|
|
|
|
- libgstreamer1.0-dev
|
|
|
|
- libgstreamer-plugins-base1.0-dev
|
|
|
|
- libpulse-dev
|
|
|
|
- libpcsclite-dev
|
|
|
|
- libgsm1-dev
|
|
|
|
- libavcodec-dev
|
|
|
|
- libavutil-dev
|
|
|
|
- libxext-dev
|
2021-01-23 17:01:48 +08:00
|
|
|
- ninja-build
|
|
|
|
- libsystemd-dev
|
|
|
|
- libwayland-dev
|
2018-03-26 00:38:46 +08:00
|
|
|
|
|
|
|
before_script:
|
|
|
|
- ulimit -c unlimited -S
|
|
|
|
|
|
|
|
script:
|
|
|
|
- sudo hostname travis-ci.local
|
2021-01-23 17:01:48 +08:00
|
|
|
- cmake -G Ninja -C ci/cmake-preloads/config-linux-all.txt -D CMAKE_BUILD_TYPE=Debug .
|
2018-03-26 00:38:46 +08:00
|
|
|
- make
|
|
|
|
- make test
|