summaryrefslogtreecommitdiffhomepage
path: root/appveyor.yml
diff options
context:
space:
mode:
authorRay <[email protected]>2018-01-19 11:41:51 +0100
committerGitHub <[email protected]>2018-01-19 11:41:51 +0100
commit750323da53dd34cb02d2919066259da7ab7dc7a9 (patch)
tree43104b379b10760c79c7531a9140406c32dc62ac /appveyor.yml
parentf818ec0e05ebc2d1292b56281d4c4291f0514539 (diff)
parent5931bd501cb671854a85b4312bd4da614b6c8797 (diff)
downloadraylib-750323da53dd34cb02d2919066259da7ab7dc7a9.tar.gz
raylib-750323da53dd34cb02d2919066259da7ab7dc7a9.zip
Merge branch 'develop' into testing_uwp
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml65
1 files changed, 65 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 00000000..4148e744
--- /dev/null
+++ b/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% -DSTATIC_RAYLIB=ON -DSHARED_RAYLIB=ON -DBUILD_EXAMPLES=%examples% -DBUILD_GAMES=%examples% ..
+ - 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: develop
+ appveyor_repo_tag: true # deploy on tag push only