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