-
Notifications
You must be signed in to change notification settings - Fork 93
/
.travis.yml
49 lines (44 loc) · 1.3 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
language: cpp
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-8
- g++-8
- libgl1-mesa-dev
- libglu1-mesa-dev
- xorg-dev
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
matrix:
include:
- os: linux
compiler: gcc
script:
- bin/linux/genie --gcc=linux-gcc-8 gmake
- cd build/projects/gmake-linux-gcc-8
- time make config=debug64
- os: linux
compiler: clang
script:
- bin/linux/genie --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 --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 vs2017
- cd build/projects/vs2017
- export PATH=$MSBUILD_PATH:$PATH
- MSBuild.exe two.sln //m //nologo //verbosity:minimal //p:Configuration=Debug //p:Platform=x64