diff options
| author | Ahmad Fatoum <[email protected]> | 2017-12-14 12:20:05 +0100 |
|---|---|---|
| committer | Ahmad Fatoum <[email protected]> | 2017-12-14 13:26:10 +0100 |
| commit | 263e81b5c92a575b35e44a33b4b5f833489073a0 (patch) | |
| tree | 46d2c5752266df259eeb68009043868b02405b00 /appveyor.yml | |
| parent | 2388cbc3cd73ab228a4d60f05becd51035c703ea (diff) | |
| download | raylib-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.yml | 6 |
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: |
