forked from gonetz/GLideN64
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (33 loc) · 933 Bytes
/
.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
dist: xenial
addons:
apt:
packages:
- libgl1-mesa-dev
- qt5-default
language: cpp
os:
- linux
- osx
compiler:
- gcc
- clang
env:
- TARGET_CPU=amd64 BUILD_CONFIGURATION=Debug GLIDENUI=On
- TARGET_CPU=amd64 BUILD_CONFIGURATION=Release GLIDENUI=On
# - TARGET_CPU=x86 BUILD_CONFIGURATION=Debug
# - TARGET_CPU=x86 BUILD_CONFIGURATION=Release
jobs:
exclude:
- os: osx
compiler: gcc
- os: osx
env: TARGET_CPU=x86 BUILD_CONFIGURATION=Debug
- os: osx
env: TARGET_CPU=x86 BUILD_CONFIGURATION=Release
script:
- src/getRevision.sh
- cd projects/cmake
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then export GLIDENUI=Off; fi
- cmake -DCMAKE_BUILD_TYPE=$BUILD_CONFIGURATION -DTARGET_CPU=$TARGET_CPU -DVEC4_OPT=On -DMUPENPLUSAPI=On -DMUPENPLUSAPI_GLIDENUI=$GLIDENUI ../../src/
- cmake --build .
- cd ../../