summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleks Kissinger <aleks0@gmail.com>2018-10-18 07:46:50 +0200
committerAleks Kissinger <aleks0@gmail.com>2018-10-18 07:46:50 +0200
commit853831aefef16ef566fc8906214a6465873b97e8 (patch)
treec4d48750cd8b61f2e96e50e420e4723d5768d0c1
parentaf6b38f13a800769ee4213c9474c09fdac2bf953 (diff)
added appveyor windows build
-rw-r--r--.appveyor.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
new file mode 100644
index 0000000..bc1e80f
--- /dev/null
+++ b/.appveyor.yml
@@ -0,0 +1,30 @@
+version: '{branch}-{build}'
+
+environment:
+ matrix:
+ # - QTDIR: C:\Qt\5.11.1\mingw53_32
+ # - QTDIR: C:\Qt\5.11.1\msvc2015
+ - QTDIR: C:\Qt\5.11.1\msvc2015_64
+
+configuration:
+ - release
+
+install:
+ # Setup the build toolchains.
+ - '%QTDIR%\bin\qtenv2.bat'
+ - qmake -v
+ - if %QTDIR:_64=%==%QTDIR% ( set ARCH=x86 ) else set ARCH=x64
+ - if %QTDIR:msvc=%==%QTDIR% g++ --version
+ - if %QTDIR:msvc=%==%QTDIR% set make=mingw32-make.exe
+ - if %QTDIR:msvc=%==%QTDIR% %make% --version
+ - if not %QTDIR:msvc2013=%==%QTDIR% call "%ProgramFiles(x86)%\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" %ARCH%
+ - if not %QTDIR:msvc2015=%==%QTDIR% call "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %ARCH%
+ - if not %QTDIR:msvc=%==%QTDIR% set make=nmake.exe
+ - if not %QTDIR:msvc=%==%QTDIR% %make% /? > nul
+
+
+build_script:
+ - qmake -v
+ - qmake -r
+ - '%make%'
+