forked from Katana-Steel/lithtech
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
141 lines (136 loc) · 3.37 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
language: cpp
sudo: false
branch:
only:
- linux-x86_64
install: true
script:
- cd Build
- cmake -DJSON_BuildTests=off ../
- make -j4 2>&1 | tee make.log
- for part in $(grep 'Target rules' Makefile| awk '/_|Dir/ {print $NF}'); do make $part > /dev/null 2>&1 && echo Pass $part || echo Fail $part; done > build.log
- cat build.log
- "cat make.log build.log > make.build.log"
- "python3 ../tests/validate.py make.build.log"
- OUT/testRegMgr
- "python3 -m json.tool LithTech.reg.json"
- OUT/testDynRes tests/DynResDLL/libtestCRes.so
- OUT/testDynRes NOLF2/ClientRes/TO2/libCRes.so
matrix:
allow_failures:
- clang: 4.0
- clang: 7.0
- gcc: "6 32bit"
- gcc: 8
include:
- os: linux
dist: trusty
gcc: 8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-8
- cmake-data
- cmake
- libsdl2-dev
- libsdl2-image-dev
- libsdl2-mixer-dev
env:
- MATRIX_EVAL="CC=gcc-8; CXX=g++-8"
- os: linux
dist: trusty
gcc: 6
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
- cmake-data
- cmake
- libsdl2-dev
- libsdl2-image-dev
- libsdl2-mixer-dev
env:
- MATRIX_EVAL="CC=gcc-6; CXX=g++-6"
- os: linux
dist: trusty
gcc: 7
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
- cmake-data
- cmake
- libsdl2-dev
- libsdl2-image-dev
- libsdl2-mixer-dev
env:
- MATRIX_EVAL="CC=gcc-7; CXX=g++-7"
- os: linux
dist: trusty
gcc: "6 32bit"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
- gcc-multilib
- libstdc++-6-dev:i386
- cmake-data
- cmake
- libsdl2-dev
- libsdl2-image-dev
- libsdl2-image-dev:i386
- libsdl2-mixer-dev
- libsdl2-mixer-dev:i386
- libsdl2-2.0-0
- libsdl2-dev:i386
- libsdl2-2.0-0:i386
- libegl1-mesa-dev
- libgles2-mesa-dev
- libwayland-egl1-mesa-lts-xenial
env:
- MATRIX_EVAL="CC=gcc-6; CXX=g++-6; CFLAGS=-m32; CXXFLAGS=-m32; LDFLAGS=-m32"
- os: linux
dist: trusty
clang: 4.0
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-4.0
packages:
- clang-4.0
- cmake-data
- cmake
- libsdl2-dev
- libsdl2-image-dev
- libsdl2-mixer-dev
env:
- MATRIX_EVAL="CC=clang-4.0; CXX=clang++-4.0"
- os: linux
clang: 7.0
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-7.0
packages:
- clang-7.0
- cmake-data
- cmake
- libsdl2-dev
- libsdl2-image-dev
- libsdl2-mixer-dev
env:
- MATRIX_EVAL="CC=clang-7.0; CXX=clang++-7.0"
before_install:
- eval "${MATRIX_EVAL}"
- mkdir Build