diff options
author | Aleks Kissinger <aleks0@gmail.com> | 2018-10-18 07:46:50 +0200 |
---|---|---|
committer | Aleks Kissinger <aleks0@gmail.com> | 2018-10-18 07:46:50 +0200 |
commit | 853831aefef16ef566fc8906214a6465873b97e8 (patch) | |
tree | c4d48750cd8b61f2e96e50e420e4723d5768d0c1 | |
parent | af6b38f13a800769ee4213c9474c09fdac2bf953 (diff) |
added appveyor windows build
-rw-r--r-- | .appveyor.yml | 30 |
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%' + |