ci: Add 32-bit build with Visual Studio

This commit is contained in:
Paweł Bylica 2019-06-25 10:36:32 +02:00
parent 4381f339d4
commit 10a7e30c57
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF
1 changed files with 3 additions and 1 deletions

View File

@ -10,8 +10,9 @@ configuration:
- Release
environment:
matrix:
- VS: 2015
- VS: 2017
- VS: 2017-32bit
- VS: 2015
- GO: true
cache:
- C:\.hunter\_Base\Cache -> cmake\Hunter\init.cmake
@ -20,6 +21,7 @@ before_build:
# Add ninja to PATH. This is done for VS2017 by vsdevcmd, but not for VS2015.
- set PATH=%PATH%;%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja
- if "%VS%" == "2017" (call "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\Common7\Tools\vsdevcmd" -arch=amd64)
- if "%VS%" == "2017-32bit" (call "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\Common7\Tools\vsdevcmd" -arch=x86)
- if "%VS%" == "2015" (call "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\vcvarsall" x64)
- if defined VS cmake -S . -B build -G Ninja -Wno-dev -DCMAKE_INSTALL_PREFIX=C:\install -DTOOLCHAIN=cxx17-pic -DEVMC_TESTING=ON