From 38d1385417c5e70ff4c359955f26d6eff3181b54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Tue, 19 Jan 2016 19:58:06 -0800 Subject: [PATCH] Added TravisCI. --- .travis.yml | 23 +++++++++++++++++++++++ README.md | 2 ++ makefile | 8 ++++++++ 3 files changed, 33 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..b0494b56 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,23 @@ +language: cpp +matrix: + include: + - compiler: gcc + os: linux + - compiler: clang + os: osx + +before_script: + git clone https://github.com/bkaradzic/bx 3rdparty/bx + +script: + make BX_DIR=$PWD/3rdparty/bx build + +branches: + only: + - master + +notifications: + email: false + +osx_image: + xcode61 diff --git a/README.md b/README.md index d85a27cd..af230744 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,8 @@ Languages: Build status ------------ +[![Build Status](https://travis-ci.org/bkaradzic/bgfx.svg?branch=master)](https://travis-ci.org/bkaradzic/bgfx) + https://tc27.draster.com/guestAuth/overview.html Who is using it? diff --git a/makefile b/makefile index 02f59da2..89e6d0a1 100644 --- a/makefile +++ b/makefile @@ -214,6 +214,14 @@ rpi-release: .build/projects/gmake-rpi $(MAKE) -R -C .build/projects/gmake-rpi config=release rpi: rpi-debug rpi-release +build-darwin: osx + +build-linux: linux-debug64 linux-release64 + +build-windows: mingw-gcc + +build: build-$(OS) + rebuild-shaders: $(MAKE) -R -C examples rebuild