summaryrefslogtreecommitdiff
path: root/libs/raylib/appveyor.yml
diff options
context:
space:
mode:
authorLuca Sas <sas.luca.alex@gmail.com>2020-10-01 19:17:58 +0100
committerLuca Sas <sas.luca.alex@gmail.com>2020-10-01 19:17:58 +0100
commit45ee5878397822c41b9109d0e3bc2d635c8c8634 (patch)
treee94f7a4c3d7c94760ff5b96886a2632f0d3d5f6b /libs/raylib/appveyor.yml
parent224c1c2087195c48d4a116ba9db0faa209e50332 (diff)
downloadgamejam-slgj-2024-45ee5878397822c41b9109d0e3bc2d635c8c8634.tar.gz
gamejam-slgj-2024-45ee5878397822c41b9109d0e3bc2d635c8c8634.tar.bz2
gamejam-slgj-2024-45ee5878397822c41b9109d0e3bc2d635c8c8634.zip
Updated to raylib 3.0
Diffstat (limited to 'libs/raylib/appveyor.yml')
-rw-r--r--libs/raylib/appveyor.yml65
1 files changed, 65 insertions, 0 deletions
diff --git a/libs/raylib/appveyor.yml b/libs/raylib/appveyor.yml
new file mode 100644
index 0000000..68a158c
--- /dev/null
+++ b/libs/raylib/appveyor.yml
@@ -0,0 +1,65 @@
+#os: Visual Studio 2015
+
+clone_depth: 5
+
+cache:
+ - C:\ProgramData\chocolatey\bin -> appveyor.yml
+ - C:\ProgramData\chocolatey\lib -> appveyor.yml
+
+init:
+ - cmake -E remove c:\programdata\chocolatey\bin\cpack.exe
+ - set PATH=%PATH:C:\Program Files (x86)\Git\usr\bin;=%
+ - set PATH=%PATH:C:\Program Files\Git\usr\bin;=%
+ - if [%BITS%]==[32] set MINGW=C:\mingw-w64\i686-6.3.0-posix-dwarf-rt_v5-rev1\mingw32
+ - if [%BITS%]==[64] set MINGW=C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64
+ - if [%COMPILER%]==[mingw] set PATH=%MINGW%\bin;%PATH%
+ - set RAYLIB_PACKAGE_SUFFIX=-Win%BITS%-%COMPILER%
+ - set VERBOSE=1
+
+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"
+ - if [%COMPILER%]==[msvc15] if [%BITS%]==[32] set GENERATOR="Visual Studio 14 2015"
+ - if [%COMPILER%]==[msvc15] if [%BITS%]==[64] set GENERATOR="Visual Studio 14 2015 Win64"
+ - mkdir build
+ - cd build
+
+build_script:
+ - cmake -G %GENERATOR% -DCMAKE_BUILD_TYPE=Release -DSTATIC=ON -DSHARED=ON -DBUILD_EXAMPLES=%examples% -DBUILD_GAMES=%examples% -DINCLUDE_EVERYTHING=ON ..
+ - cmake --build . --target install
+
+after_build:
+ - cmake --build . --target package
+
+before_test:
+
+test_script:
+
+artifacts:
+ - path: 'build\*.zip'
+
+deploy:
+ - provider: GitHub
+ auth_token:
+ secure: OxKnnT3tlkPl9365cOO84rDWU4UkHIYJc0D3r3Tv7rB3HaR2BBhlhCnl7g3nuOJy
+ artifact: /.*\.zip/
+ draft: false
+ prerelease: false
+ force_update: true
+ on:
+ branch: master
+ appveyor_repo_tag: true # deploy on tag push only