forked from aumuell/open-inventor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
65 lines (53 loc) · 1.25 KB
/
.travis.yml
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
57
58
59
60
61
62
63
64
65
#--------------------------------------------------------------------------------------------------
# Configuration script for use with continuous integration service travis-ci.org
#
notifications:
email:
language: cpp
cache: ccache
os:
- linux
#- osx
env:
#- BUILD_TYPE="Make"
#- BUILD_TYPE="Debug"
- BUILD_TYPE="Release"
dist: focal
osx_image:
- xcode12.2
jobs:
exclude:
- os: osx
env: BUILD_TYPE="Debug"
addons:
apt:
packages:
- cmake
- ninja-build
- bison
- libjpeg-dev
- libmotif-dev
- libxi-dev
- libglu1-mesa-dev
homebrew:
#update: true # necessary for 'brew bundle' with xcode10.3 and older
packages:
- ccache
- cmake
- ninja
- jpeg
before_install:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then rm -f ${HOME}/.ccache/ccache.conf; ccache --set-config=sloppiness=file_macro,time_macros; fi
script:
- BUILD=build-${BUILD_TYPE}
- mkdir $BUILD
- cd $BUILD
- >
cmake
-G Ninja
-DCMAKE_BUILD_TYPE=${BUILD_TYPE}
-DINVENTOR_SAMPLES=ON
-DINVENTOR_EXAMPLES=ON
..
- ninja -v