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