This repository has been archived by the owner on Aug 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.travis.yml
258 lines (258 loc) · 7.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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
git:
depth: 10
notifications:
email:
on_success: always
on_failure: always
language: csharp
python: '2.7'
install:
- export BAM_BRANCH_TESTED=${BAM_BRANCH:-master}
- echo "Testing BAM branch '${BAM_BRANCH_TESTED}'"
- wget "https://ci.appveyor.com/api/projects/markfinal/buildamation/artifacts/bam.tar?branch=${BAM_BRANCH_TESTED}&job=Image%3A%20Visual%20Studio%202017" -O /tmp/bam.tar
- mkdir -p /tmp/BuildAMation
- tar xf /tmp/bam.tar -C /tmp/BuildAMation
- if [ $TRAVIS_OS_NAME = linux ]; then wget "https://ci.appveyor.com/api/projects/markfinal/buildamation/artifacts/ubuntu_install_scripts.tar?branch=${BAM_BRANCH_TESTED}&job=Image%3A%20Visual%20Studio%202017" -O /tmp/ubuntu_install_scripts.tar; fi
- if [ $TRAVIS_OS_NAME = linux ]; then tar xf /tmp/ubuntu_install_scripts.tar -C /tmp; fi
- if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get -q update && sudo apt-get -q -y --no-install-recommends install gnustep-devel libx11-dev libx11-dev:i386 chrpath; fi
before_script:
- dotnet --version
#env:
# global:
# EXTRA_TEST_ARGS: "'-t Test2'"
matrix:
include:
- os: linux
dist: xenial
mono: none
dotnet: 2.1.401
name: Ubuntu 16 (GCC 9) Native
env:
- BAM_BUILD_MODE=Native
- BAM_TOOLCHAIN_NAME=Gcc
- BAM_TOOLCHAIN_VERSION=9
- os: linux
dist: xenial
mono: none
dotnet: 2.1.401
name: Ubuntu 16 (GCC 9) MakeFile
env:
- BAM_BUILD_MODE=MakeFile
- BAM_TOOLCHAIN_NAME=Gcc
- BAM_TOOLCHAIN_VERSION=9
- os: linux
dist: xenial
mono: none
dotnet: 2.1.401
name: Ubuntu 16 (GCC 8) Native
env:
- BAM_BUILD_MODE=Native
- BAM_TOOLCHAIN_NAME=Gcc
- BAM_TOOLCHAIN_VERSION=8
- os: linux
dist: xenial
mono: none
dotnet: 2.1.401
name: Ubuntu 16 (GCC 8) MakeFile
env:
- BAM_BUILD_MODE=MakeFile
- BAM_TOOLCHAIN_NAME=Gcc
- BAM_TOOLCHAIN_VERSION=8
- os: linux
dist: xenial
mono: none
dotnet: 2.1.401
name: Ubuntu 16 (GCC 7) Native
env:
- BAM_BUILD_MODE=Native
- BAM_TOOLCHAIN_NAME=Gcc
- BAM_TOOLCHAIN_VERSION=7
- os: linux
dist: xenial
mono: none
dotnet: 2.1.401
name: Ubuntu 16 (GCC 7) MakeFile
env:
- BAM_BUILD_MODE=MakeFile
- BAM_TOOLCHAIN_NAME=Gcc
- BAM_TOOLCHAIN_VERSION=7
- os: linux
dist: xenial
mono: none
dotnet: 2.1.401
name: Ubuntu 16 (GCC 6) Native
env:
- BAM_BUILD_MODE=Native
- BAM_TOOLCHAIN_NAME=Gcc
- BAM_TOOLCHAIN_VERSION=6
- EXTRA_TEST_ARGS="-T Cxx17Test1"
- os: linux
dist: xenial
mono: none
dotnet: 2.1.401
name: Ubuntu 16 (GCC 6) MakeFile
env:
- BAM_BUILD_MODE=MakeFile
- BAM_TOOLCHAIN_NAME=Gcc
- BAM_TOOLCHAIN_VERSION=6
- EXTRA_TEST_ARGS="-T Cxx17Test1"
- os: linux
dist: xenial
mono: none
dotnet: 2.1.401
name: Ubuntu 16 (GCC 5) Native
env:
- BAM_BUILD_MODE=Native
- BAM_TOOLCHAIN_NAME=Gcc
- BAM_TOOLCHAIN_VERSION=5
- EXTRA_TEST_ARGS="-T Cxx17Test1"
- os: linux
dist: xenial
mono: none
dotnet: 2.1.401
name: Ubuntu 16 (GCC 5) MakeFile
env:
- BAM_BUILD_MODE=MakeFile
- BAM_TOOLCHAIN_NAME=Gcc
- BAM_TOOLCHAIN_VERSION=5
- EXTRA_TEST_ARGS="-T Cxx17Test1"
- os: linux
dist: trusty
mono: none
dotnet: 2.1.401
name: Ubuntu 14 (GCC 4.8) Native
env:
- BAM_BUILD_MODE=Native
- BAM_TOOLCHAIN_NAME=Gcc
- BAM_TOOLCHAIN_VERSION=4.8
- EXTRA_TEST_ARGS="-T Cxx14Test1 -T Cxx17Test1" # C++14 and C++17 not available in Gcc 4.8
- os: linux
dist: trusty
mono: none
dotnet: 2.1.401
name: Ubuntu 14 (GCC 4.8) MakeFile
env:
- BAM_BUILD_MODE=MakeFile
- BAM_TOOLCHAIN_NAME=Gcc
- BAM_TOOLCHAIN_VERSION=4.8
- EXTRA_TEST_ARGS="-T Cxx14Test1 -T Cxx17Test1" # C++14 and C++17 not available in Gcc 4.8
- os: osx
osx_image: xcode11.1
mono: none
dotnet: 2.1.401
name: MacOS (Xcode 11.1) Native
env:
- BAM_BUILD_MODE=Native
- BAM_TOOLCHAIN_NAME=Clang
- BAM_TOOLCHAIN_VERSION=Xcode11
- EXTRA_TEST_ARGS=--C.bitdepth=64 # Xcode 10+ no longer builds 32-bit targets
- os: osx
osx_image: xcode11.1
mono: none
dotnet: 2.1.401
name: MacOS (Xcode 11.1) MakeFile
env:
- BAM_BUILD_MODE=MakeFile
- BAM_TOOLCHAIN_NAME=Clang
- BAM_TOOLCHAIN_VERSION=Xcode11
- EXTRA_TEST_ARGS=--C.bitdepth=64 # Xcode 10+ no longer builds 32-bit targets
- os: osx
osx_image: xcode11.1
mono: none
dotnet: 2.1.401
name: MacOS (Xcode 11.1) Xcode
env:
- BAM_BUILD_MODE=Xcode
- BAM_TOOLCHAIN_NAME=Clang
- BAM_TOOLCHAIN_VERSION=Xcode11
- EXTRA_TEST_ARGS=--C.bitdepth=64 # Xcode 10+ no longer builds 32-bit targets
- os: osx
osx_image: xcode10.3
mono: none
dotnet: 2.1.401
name: MacOS (Xcode 10.3) Native
env:
- BAM_BUILD_MODE=Native
- BAM_TOOLCHAIN_NAME=Clang
- BAM_TOOLCHAIN_VERSION=Xcode10
- EXTRA_TEST_ARGS=--C.bitdepth=64 # Xcode 10+ no longer builds 32-bit targets
- os: osx
osx_image: xcode10.3
mono: none
dotnet: 2.1.401
name: MacOS (Xcode 10.3) MakeFile
env:
- BAM_BUILD_MODE=MakeFile
- BAM_TOOLCHAIN_NAME=Clang
- BAM_TOOLCHAIN_VERSION=Xcode10
- EXTRA_TEST_ARGS=--C.bitdepth=64 # Xcode 10+ no longer builds 32-bit targets
- os: osx
osx_image: xcode10.3
mono: none
dotnet: 2.1.401
name: MacOS (Xcode 10.3) Xcode
env:
- BAM_BUILD_MODE=Xcode
- BAM_TOOLCHAIN_NAME=Clang
- BAM_TOOLCHAIN_VERSION=Xcode10
- EXTRA_TEST_ARGS=--C.bitdepth=64 # Xcode 10+ no longer builds 32-bit targets
- os: osx
osx_image: xcode9.4
mono: none
dotnet: 2.1.401
name: MacOS (Xcode 9.4) Native
env:
- BAM_BUILD_MODE=Native
- BAM_TOOLCHAIN_NAME=Clang
- BAM_TOOLCHAIN_VERSION=Xcode9
- os: osx
osx_image: xcode9.4
mono: none
dotnet: 2.1.401
name: MacOS (Xcode 9.4) MakeFile
env:
- BAM_BUILD_MODE=MakeFile
- BAM_TOOLCHAIN_NAME=Clang
- BAM_TOOLCHAIN_VERSION=Xcode9
- os: osx
osx_image: xcode9.4
mono: none
dotnet: 2.1.401
name: MacOS (Xcode 9.4) Xcode
env:
- BAM_BUILD_MODE=Xcode
- BAM_TOOLCHAIN_NAME=Clang
- BAM_TOOLCHAIN_VERSION=Xcode9
- os: osx
osx_image: xcode8.3
mono: none
dotnet: 2.1.401
name: MacOS (Xcode 8.3) Native
env:
- BAM_BUILD_MODE=Native
- BAM_TOOLCHAIN_NAME=Clang
- BAM_TOOLCHAIN_VERSION=Xcode8
- EXTRA_TEST_ARGS="-T Cxx17Test1"
- os: osx
osx_image: xcode8.3
mono: none
dotnet: 2.1.401
name: MacOS (Xcode 8.3) MakeFile
env:
- BAM_BUILD_MODE=MakeFile
- BAM_TOOLCHAIN_NAME=Clang
- BAM_TOOLCHAIN_VERSION=Xcode8
- EXTRA_TEST_ARGS="-T Cxx17Test1"
- os: osx
osx_image: xcode8.3
mono: none
dotnet: 2.1.401
name: MacOS (Xcode 8.3) Xcode
env:
- BAM_BUILD_MODE=Xcode
- BAM_TOOLCHAIN_NAME=Clang
- BAM_TOOLCHAIN_VERSION=Xcode8
- EXTRA_TEST_ARGS="-T Cxx17Test1"
script:
- if [ $TRAVIS_OS_NAME = linux ]; then sudo /tmp/CI/ubuntu_install_scripts/install_gcc.sh ${BAM_TOOLCHAIN_VERSION} && sudo /tmp/CI/ubuntu_install_scripts/enable_gcc.sh ${BAM_TOOLCHAIN_VERSION}; fi
- cd /tmp/BuildAMation && source env.sh && python tests/runtests.py --${BAM_TOOLCHAIN_NAME}.version=${BAM_TOOLCHAIN_VERSION} -b $BAM_BUILD_MODE -c debug -c profile -j0 -d $EXTRA_TEST_ARGS