forked from SFML/SFML
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
56 lines (47 loc) · 1.02 KB
/
.travis.yml
File metadata and controls
56 lines (47 loc) · 1.02 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
sudo: false
dist: trusty
language: c++
addons:
apt:
packages:
- cmake
- libxrandr-dev
- libudev-dev
- libopenal-dev
- libflac-dev
- libvorbis-dev
- g++
- clang
before_script:
- mkdir build && cd build
- cmake .. -G"$GENERATOR" $CMAKE_FLAGS
script:
- sudo cmake --build . --target install
matrix:
include:
# Linux - gcc
- os: linux
compiler: gcc
env:
- GENERATOR="Unix Makefiles"
- CMAKE_FLAGS="-DSFML_BUILD_EXAMPLES=TRUE"
# Linux - clang
- os: linux
compiler: clang
env:
- GENERATOR="Unix Makefiles"
- CMAKE_FLAGS="-DSFML_BUILD_EXAMPLES=TRUE"
# macOS - Xcode 10
- os: osx
osx_image: xcode10
env:
- GENERATOR="Xcode"
- CMAKE_FLAGS="-DSFML_BUILD_FRAMEWORKS=TRUE -DSFML_BUILD_EXAMPLES=TRUE"
# iOS - Xcode 9
- os: osx
osx_image: xcode10
env:
- GENERATOR="Xcode"
- CMAKE_FLAGS="-DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/iOS.toolchain.cmake -DSFML_BUILD_EXAMPLES=TRUE -DIOS_PLATFORM=SIMULATOR"
notifications:
email: false