-
Notifications
You must be signed in to change notification settings - Fork 101
/
Copy path.travis.yml
51 lines (46 loc) · 1.45 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
language: cpp
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-8
- g++-8
- libgl1-mesa-dev
- libglu1-mesa-dev
- xorg-dev
dist: xenial
before_script:
- git clone --depth 1 https://github.com/bkaradzic/bx ../bx
- git clone --depth 1 https://github.com/hugoam/bimg ../bimg
- git clone --depth 1 https://github.com/hugoam/bgfx ../bgfx
- git clone --depth 1 --recurse-submodules -j8 https://github.com/hugoam/two ../two
matrix:
include:
- os: linux
compiler: gcc
script:
- bin/linux/genie --compile-only --gcc=linux-gcc-8 gmake
- cd build/projects/gmake-linux-gcc-8
- time make config=debug64
- os: linux
compiler: clang
script:
- bin/linux/genie --compile-only --gcc=linux-clang gmake
- cd build/projects/gmake-linux-clang
- time make config=debug64
- os: osx
compiler: clang
osx_image: xcode10
script:
- bin/darwin/genie --compile-only --gcc=osx gmake
- cd build/projects/gmake-osx
- time make config=debug64
- os: windows
env:
- MSBUILD_PATH="c:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin"
script:
- bin/windows/genie --compile-only vs2017
- cd build/projects/vs2017
- export PATH=$MSBUILD_PATH:$PATH
- MSBuild.exe two.sln //m //nologo //verbosity:minimal //p:Configuration=Debug //p:Platform=x64