Travis CI: Test building with external GLFW

This commit is contained in:
Ahmad Fatoum 2018-05-10 23:47:38 +02:00
parent 0adb4b67de
commit 7243cebad1
No known key found for this signature in database
GPG Key ID: C3EAC3DE9321D59B

View File

@ -15,6 +15,9 @@ matrix:
- os: linux
env: ARCH=amd64
sudo: required
- os: linux
env: ARCH=amd64 GLFW=SYSTEM
sudo: required
- os: osx
env: ARCH=universal
@ -48,7 +51,9 @@ script:
- cd build
- cmake $CMAKE_ARCH_ARGS -DMACOS_FATLIB=ON -DSTATIC=ON -DSHARED=ON -DBUILD_EXAMPLES=ON -DBUILD_GAMES=ON -DUSE_EXTERNAL_GLFW=IF_POSSIBLE ..
- make VERBOSE=1
- make package
- if [ "$GLFW" != "SYSTEM" ]; then make package; fi;
- sudo make install
- pkg-config --static --libs raylib
deploy:
provider: releases