summaryrefslogtreecommitdiffhomepage
path: root/appveyor.yml
diff options
context:
space:
mode:
authorAhmad Fatoum <[email protected]>2017-12-14 12:20:05 +0100
committerAhmad Fatoum <[email protected]>2017-12-14 13:26:10 +0100
commit263e81b5c92a575b35e44a33b4b5f833489073a0 (patch)
tree46d2c5752266df259eeb68009043868b02405b00 /appveyor.yml
parent2388cbc3cd73ab228a4d60f05becd51035c703ea (diff)
downloadraylib-263e81b5c92a575b35e44a33b4b5f833489073a0.tar.gz
raylib-263e81b5c92a575b35e44a33b4b5f833489073a0.zip
Build shared libs, games and examples on CI
Now with external OpenAL and GLFW dependencies removed, we don't have to worry about installing them in CI. Shared libraries are now always built along with static libs. Games and examples are built everwhere except for Visual Studio, because Physac needs pthreads, which VS doesn't provide.
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/appveyor.yml b/appveyor.yml
index a8572d07..4148e744 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -20,12 +20,16 @@ environment:
matrix:
- compiler: mingw
bits: 32
+ examples: ON
- compiler: mingw
bits: 64
+ examples: ON
- compiler: msvc15
bits: 32
+ examples: OFF
- compiler: msvc15
bits: 64
+ examples: OFF
before_build:
- if [%compiler%]==[mingw] set CFLAGS=-m%BITS% & set LDFLAGS=-m%BITS% & set GENERATOR="MinGW Makefiles"
@@ -35,7 +39,7 @@ before_build:
- cd build
build_script:
- - cmake -G %GENERATOR% -DSTATIC_RAYLIB=ON -DSHARED_RAYLIB=OFF -DBUILD_EXAMPLES=OFF -DBUILD_GAMES=OFF ..
+ - cmake -G %GENERATOR% -DSTATIC_RAYLIB=ON -DSHARED_RAYLIB=ON -DBUILD_EXAMPLES=%examples% -DBUILD_GAMES=%examples% ..
- cmake --build . --target install
after_build: