-
Notifications
You must be signed in to change notification settings - Fork 120
/
.travis.yml
68 lines (63 loc) · 1.89 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
66
#
matrix:
include:
- os: "linux"
dist: trusty
language: cpp
compiler: g++
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-8
- mesa-common-dev
install:
- "[ $CXX = g++ ] && export CXX=g++-8 || true"
env:
- BUILD_TYPE=Release
- BUILD_TYPE=Debug
script:
- cd dev && cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE . && make
- os: "linux"
dist: trusty
language: cpp
compiler: clang++
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-8
packages:
- g++-8
- libc++-dev
- clang-8
- mesa-common-dev
install:
- "[ $CXX = clang++ ] && export CXX=clang++-8 || true"
env:
- BUILD_TYPE=Release
- BUILD_TYPE=Debug
script:
- cd dev && cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE . && make
- os: "osx"
osx_image: xcode10.2
language: cpp
script:
- "[ $CXX = clang++ ] && export CXX=clang++ || true"
- cd dev/xcode/lobster && xcodebuild -toolchain clang -target lobster
- os: windows
language: cpp
env:
- MSBUILD_PATH="c:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin"
- BUILD_TYPE=Release
- BUILD_TYPE=Debug
script:
- export PATH=$MSBUILD_PATH:$PATH
# Have to wait until travis has VS2019, doesn't have the toolset.
#- cd dev/lobster && msbuild.exe lobster.sln //p:Configuration=Debug //p:Platform=x64
# Until then, attempt to build with CMake?
# sadly, this needs more work to make it compile, lots of options in the .vcxproj
#- cd dev
#- cmake -G"Visual Studio 15 2017 Win64" -DCMAKE_BUILD_TYPE=$BUILD_TYPE .
#- cmake --build .