Warning, /grantlee/appveyor.yml is written in an unsupported language. File is not indexed.

0001 version: '{build}'
0002 
0003 branches:
0004   only:
0005     - master
0006     - next
0007 shallow_clone: true
0008 clone_depth: 1
0009 
0010 clone_folder: c:\dev\grantlee
0011 
0012 environment:
0013   matrix:
0014   - CMAKE_GENERATOR: "NMake Makefiles JOM"
0015     QT5: C:\Qt\5.6\msvc2015
0016     PLATFORM: X86
0017     VCVARSALL: "%VS140COMNTOOLS%/../../VC/vcvarsall.bat"
0018   - CMAKE_GENERATOR: "Ninja"
0019     QT5: C:\Qt\5.6\msvc2015
0020     PLATFORM: X86
0021     VCVARSALL: "%VS140COMNTOOLS%/../../VC/vcvarsall.bat"
0022   - CMAKE_GENERATOR: "Ninja"
0023     QT5: C:\Qt\5.6\msvc2015_64
0024     PLATFORM: X64
0025     VCVARSALL: "%VS140COMNTOOLS%/../../VC/vcvarsall.bat"
0026   - CMAKE_GENERATOR: "Visual Studio 14"
0027     QT5: C:\Qt\5.6\msvc2015
0028     PLATFORM: X86
0029     VCVARSALL: "%VS140COMNTOOLS%/../../VC/vcvarsall.bat"
0030   - CMAKE_GENERATOR: "Visual Studio 14 Win64"
0031     QT5: C:\Qt\5.6\msvc2015_64
0032     PLATFORM: X64
0033     VCVARSALL: "%VS140COMNTOOLS%/../../VC/vcvarsall.bat"
0034   - CMAKE_GENERATOR: "NMake Makefiles JOM"
0035     QT5: C:\Qt\5.6\msvc2015_64
0036     PLATFORM: X64
0037     VCVARSALL: "%VS140COMNTOOLS%/../../VC/vcvarsall.bat"
0038   - CMAKE_GENERATOR: "MinGW Makefiles"
0039     QT5: C:\Qt\5.6\mingw49_32
0040     MINGW_PATH: C:\Qt\Tools\mingw492_32
0041   - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
0042     CMAKE_GENERATOR: "Ninja"
0043     QT5: C:\Qt\5.12\msvc2017
0044     PLATFORM: X86
0045     VCVARSALL: "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Auxiliary/Build/vcvarsall.bat"
0046   - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
0047     CMAKE_GENERATOR: "Ninja"
0048     QT5: C:\Qt\5.12\msvc2017_64
0049     PLATFORM: X64
0050     VCVARSALL: "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Auxiliary/Build/vcvarsall.bat"
0051   - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
0052     CMAKE_GENERATOR: "Visual Studio 15"
0053     QT5: C:\Qt\5.12\msvc2017
0054     PLATFORM: X86
0055     VCVARSALL: "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Auxiliary/Build/vcvarsall.bat"
0056   - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
0057     CMAKE_GENERATOR: "Visual Studio 15 Win64"
0058     QT5: C:\Qt\5.12\msvc2017_64
0059     PLATFORM: X64
0060     VCVARSALL: "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Auxiliary/Build/vcvarsall.bat"
0061   - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
0062     CMAKE_GENERATOR: "NMake Makefiles JOM"
0063     QT5: C:\Qt\5.12\msvc2017
0064     PLATFORM: X86
0065     VCVARSALL: "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Auxiliary/Build/vcvarsall.bat"
0066   - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
0067     CMAKE_GENERATOR: "NMake Makefiles JOM"
0068     QT5: C:\Qt\5.12\msvc2017_64
0069     PLATFORM: X64
0070     VCVARSALL: "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Auxiliary/Build/vcvarsall.bat"
0071   - CMAKE_GENERATOR: "MinGW Makefiles"
0072     QT5: C:\Qt\5.12\mingw73_32
0073     MINGW_PATH: C:\Qt\Tools\mingw730_32
0074   - CMAKE_GENERATOR: "MinGW Makefiles"
0075     QT5: C:\Qt\5.12\mingw73_64
0076     MINGW_PATH: C:\Qt\Tools\mingw730_64
0077 
0078 install:
0079   - ps: |
0080       choco install ninja
0081 
0082 init:
0083   - if NOT "%VCVARSALL%" == "" call "%VCVARSALL%" %PLATFORM%
0084   - git config --global core.autocrlf input
0085 
0086 before_build:
0087   - set PATH=C:\cygwin\bin;%QT5%\bin;c:\dev\grantlee\build\templates\lib;c:\dev\grantlee\build\textdocument\lib;%PATH%
0088   - sed -i "s|std::equal(b, e, lb)|std::equal(b, e,\n#if defined(Q_CC_MSVC)\nstdext::make_unchecked_array_iterator(lb)\n#else\nlb\n#endif\n)|" %QT5%\include\QtCore\qlist.h
0089   - set PATH=%PATH:C:\cygwin\bin;=%
0090   - if "%CMAKE_GENERATOR%" == "MinGW Makefiles" set PATH=%MINGW_PATH%\bin;%PATH:C:\Program Files\Git\usr\bin;=%
0091   - if "%CMAKE_GENERATOR%" == "NMake Makefiles JOM" set PATH=C:\Qt\Tools\QtCreator\bin;%PATH%
0092 
0093 build:
0094 
0095 build_script:
0096   - cd c:\dev\grantlee
0097   - md build
0098   - cd build
0099   - cmake .. -G "%CMAKE_GENERATOR%" "-DCMAKE_PREFIX_PATH=%QT5%"
0100   - cmake --build . --config Debug
0101   - cmake --build . --config Release
0102 
0103 test_script:
0104   - cmd: ctest --output-on-failure -C "Debug"
0105   - cmd: ctest --output-on-failure -C "Release"