2015-04-14 21:47:17 +00:00
|
|
|
language: c
|
|
|
|
compiler: clang
|
|
|
|
branches:
|
|
|
|
only:
|
2016-02-04 13:58:44 +00:00
|
|
|
- ci
|
2015-04-14 21:47:17 +00:00
|
|
|
- master
|
2016-02-04 12:23:54 +00:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
sudo: false
|
2017-05-16 14:22:24 +00:00
|
|
|
dist: trusty
|
2016-02-04 12:23:54 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- kubuntu-backports
|
|
|
|
packages:
|
|
|
|
- cmake
|
2017-05-16 14:22:24 +00:00
|
|
|
- libxrandr-dev
|
|
|
|
- libxinerama-dev
|
|
|
|
- libxcursor-dev
|
|
|
|
- libxi-dev
|
2016-02-04 12:23:54 +00:00
|
|
|
env:
|
2017-07-17 19:17:14 +00:00
|
|
|
global:
|
|
|
|
- CFLAGS=-Werror
|
|
|
|
matrix:
|
|
|
|
- BUILD_SHARED_LIBS=ON
|
|
|
|
- BUILD_SHARED_LIBS=OFF
|
2015-04-14 21:47:17 +00:00
|
|
|
script:
|
2016-02-04 14:44:20 +00:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2017-07-17 21:42:37 +00:00
|
|
|
- cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DBUILD_SHARED_LIBS=${BUILD_SHARED_LIBS} ..
|
2016-02-04 12:23:54 +00:00
|
|
|
- cmake --build .
|
2015-04-14 21:47:17 +00:00
|
|
|
notifications:
|
2016-02-04 13:58:44 +00:00
|
|
|
email:
|
|
|
|
recipients:
|
|
|
|
- ci@glfw.org
|
2015-04-14 21:47:17 +00:00
|
|
|
on_success: never
|
|
|
|
on_failure: always
|